%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 236603 (Advanced Topics) style file for scribe notes. % % You should save this file as online_header.sty % % Your main LaTeX file should look like this: % % \documentstyle[12pt,online_header]{article} % \Scribes{*First1 Last1*} % or \Scribe{*First Last*} % \Lecturer{*First Last*} % or \Lecturers{*First1 Last1* and *First2 Last2*} % \LectureNumber{*N*} % \LectureDate{*Date*} % \begin{document} % \MakeScribeTop % % \section{*Section Name*} % % *stuff* % % \section{*Section Name*} % % *stuff* % % etc. % % \end{document} % \oddsidemargin 0in \evensidemargin 0in \marginparwidth 40pt \marginparsep 10pt \topmargin 0pt \headsep 0in \headheight 0in \textheight 8.5in \textwidth 6.5in \brokenpenalty=10000 \def\ScribeStr{??} \def\LecStr{??} \def\LecNum{??} \def\LecDate{??} \newcommand{\Scribe}[1]{\def\ScribeStr{Scribe: #1}} \newcommand{\Scribes}[1]{\def\ScribeStr{Scribes: #1}} \newcommand{\Lecturer}[1]{\def\LecStr{Lecturer: #1}} \newcommand{\Lecturers}[1]{\def\LecStr{Lecturers: #1}} \newcommand{\LectureNumber}[1]{\def\LecNum{#1}} \newcommand{\LectureDate}[1]{\def\LecDate{#1}} \newdimen\headerwidth \newcommand{\MakeScribeTop}{ \noindent \begin{center} \framebox{ \vbox{ \headerwidth=\textwidth \advance\headerwidth by -0.22in \hbox to \headerwidth {\hfill {\bf Online Algorithms and Competitve Analysis } \hfill } \hbox to \headerwidth {\hfill {\bf Fall 2001-2002} \hfill} \vspace{4mm} \hbox to \headerwidth {{\Large \hfill Lecture \LecNum: \LecDate \hfill}} \vspace{2mm} \hbox to \headerwidth {{\it \LecStr \hfill \ScribeStr}} } } \end{center} \vspace*{4mm} }