forked from rjkyng/agao23_script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout-defs.tex
37 lines (30 loc) · 932 Bytes
/
layout-defs.tex
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
\newcommand{\handout}[5]{
\noindent
\begin{center}
\framebox{
\vbox{
\hbox to 6.30in { {\bf Advanced Graph Algorithms and Optimization} \hfill #2 }
\vspace{5mm}
\hbox to 6.30in { {\Large \hfill #5 \hfill} }
\vspace{3mm}
\hbox to 6.30in { {\em #3 \hfill #4} }
}
}
\end{center}
\vspace*{4mm}
}
\newcommand{\lecture}[4]{\handout{#1}{#2}{#3}{Lecture #1}{#4}}
\newcommand{\homework}[3]{\handout{#1}{#2}{#3}{Problem Set #1}}
\newcommand{\gradedhomework}[3]{\handout{#1}{#2}{#3}{Graded Homework #1}}
\newcommand{\sect}[3]{\handout{#1}{#2}{#3}{Section #1}}
% 1-inch margins, from fullpage.sty by H.Partl, Version 2, Dec. 15, 1988.
\topmargin 0pt
\advance \topmargin by -\headheight
\advance \topmargin by -\headsep
\textheight 8.9in
\oddsidemargin 0pt
\evensidemargin \oddsidemargin
\marginparwidth 0.5in
\textwidth 6.5in
\parindent 0in
\parskip 1.5ex