% This is a option to be used to format the cover page of a 6.035 problem set
%

\typeout{6.035 Problem Set Style}
\input article.sty

\gdef\@boldheadermacro{}

%
%  These are required...
%
\def\psnum#1{\gdef\@psnum{#1}}
\def\duedate#1{\gdef\@duedate{#1}}
\def\handedoutdate#1{\gdef\@handoutdate{#1}}

%
%  Set up the header and footer
%
\input generic-header.sty
\def\ghead{\@boldheadermacro 6.035 Problem Set \@psnum\hfil\@duedate}
\def\gfoot{\hfil\@boldheadermacro\thepage\hfil}

%
%  Some random symbols
%
\def\pipe{$|$}
\def\eps{$\epsilon$}
\def\kclose{$^*$}
\def\star{\bgroup\tt*\egroup}
\def\quote{\bgroup\tt"\egroup}

%
%  Page number style options
%

\def\romanpages{\gdef\gfoot{\hfil\@boldheadermacro{\em\roman{page}}\hfil}}
\def\normalpages{\gdef\gfoot{\hfil\@boldheadermacro\thepage\hfil}
  \setcounter{page}{1}}

\setlength{\oddsidemargin}{.2in}
\setlength{\evensidemargin}{0in}
\setlength{\topmargin}{-.5in}
\setlength{\headheight}{.25in}
\setlength{\headsep}{.25in}
\setlength{\textwidth}{6.5in}
\setlength{\textheight}{9in}
\setlength{\parskip}{12pt}
\setlength{\parindent}{0in}

%
%  Define title
%
\def\maketitle{
  \global\@topnum\z@	% Prevents figures from going at top of page.
  \thispagestyle{empty}
  \begin{center}
    {\bf Massachusetts Institute of Technology} \\
    {\bf Department of Electrical Engineering and Computer Science}
  \end{center}
  \vspace{-10pt}
  6.035, Fall 1990 \hfill {\bf Handed Out}: \@handoutdate \\
  Homework \#\@psnum \hfill {\bf Due}: \@duedate
  \par
  \vspace{-15pt}
  \rule{6.5in}{.011in}
}
