CS109 PSET Template
Author
Jacqueline Ennis
Last Updated
7 yıl önce
License
Creative Commons CC BY 4.0
Abstract
PSET template for CS109 homework assignments as offered by Stanford University.
PSET template for CS109 homework assignments as offered by Stanford University.
%CS 109 Problem Set Template
%Jackie Ennis
\title{CS109 PSET Template}
\documentclass{article}
% basic article document class
% use percent signs to make comments to yourself -- they will not show up.
\usepackage{amsmath}
\usepackage{amssymb}
% packages that allow mathematical formatting
\usepackage{graphicx}
% package that allows you to include graphics
%includegraphic[width=\textwidth]{FILENAME}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\frenchspacing
% one space after periods
\usepackage{fancyhdr}
% allows custom headers
\usepackage{relsize}
\pagestyle{fancy}
\setlength{\headheight}{24pt}% ...at least 23.1004pt
\lhead{CS 109, Stanford University \\ Problem Set X}
\rhead{NAME (EMAIL) \\ SUNETID}
\cfoot{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
%footer
\begin{document}
\thispagestyle{fancy} %shows header/footer
\begin{enumerate}
% Problem 1 --------------------------------------------------------------
\item
\begin{enumerate}
\item \textbf{Answer:} \\
\textbf{Explanation:} \\
\item \textbf{Answer:} \\
\textbf{Explanation:} \\
\end{enumerate}
% Problem 2 --------------------------------------------------------------
\item
\begin{enumerate}
\item \textbf{Answer:} \\
\textbf{Explanation:} \\
\item \textbf{Answer:} \\
\textbf{Explanation:} \\
\end{enumerate}
\end{enumerate}
\newpage
\end{document}