%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%  6.826 (POCS Seminar) macro file for lecture notes.
%
% You should save this file as lecture.tex
%
% Your main LaTeX file should look like this:
%
%        \documentstyle[12pt]{article}
%		 \input{lecture}
%        \Scribes{*First1 Last1* and *First2 Last2*}
%	  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 {{\bf 6.826 Principles of Computer Systems \hfill
                              Fall Semester, 1992} }
      \vspace{4mm}
      \hbox to \headerwidth {{\Large \hfill Lecture \LecNum: \LecDate \hfill}}
      \vspace{2mm}
      \hbox to \headerwidth {{\it \LecStr \hfill \ScribeStr}}
      }
    }
\end{center}
\vspace*{4mm}
}
