forked from timroughgarden/fob21
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.tex
More file actions
71 lines (47 loc) · 1.37 KB
/
template.tex
File metadata and controls
71 lines (47 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
\documentclass{article}
\usepackage{graphicx,fancyhdr,amsmath,amssymb,amsthm,subfig,url,hyperref}
\usepackage[margin=1in]{geometry}
%----------------------- Macros and Definitions --------------------------
%%% FILL THIS OUT
\newcommand{\studentname}{Jane Doe}
\newcommand{\suid}{janedoe}
\newcommand{\exerciseset}{Homework Set 1}
%%% END
\renewcommand{\theenumi}{\bf \Alph{enumi}}
%\theoremstyle{plain}
%\newtheorem{theorem}{Theorem}
%\newtheorem{lemma}[theorem]{Lemma}
\fancypagestyle{plain}{}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RO,LE]{\sffamily\bfseries\large Columbia University}
\fancyhead[LO,RE]{\sffamily\bfseries\large COMS 4995 Randomized Algorithms}
\fancyfoot[LO,RE]{\sffamily\bfseries\large \studentname: UNI}
\fancyfoot[RO,LE]{\sffamily\bfseries\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}
\graphicspath{{figures/}}
%-------------------------------- Title ----------------------------------
\title{COMS 4995 (Randomized Algorithms) \exerciseset}
\author{\studentname \qquad UNI: \suid}
%--------------------------------- Text ----------------------------------
\begin{document}
\maketitle
\section*{Problem 1}
\begin{enumerate}
\item %A
Your answer here.
\item %B
Next one here.
\item %C
42
\end{enumerate}
\section*{Problem 2}
\begin{enumerate}
\item %A
\item %B
\item %C
\item %D
\item %E
\end{enumerate}
\end{document}