%\usepackage{fancyhdr}

% normal margins for US-size paper
\setlength{\topmargin}{-.7in}   
\setlength{\oddsidemargin}{0in}  % distance from left edge of page to text
\setlength{\evensidemargin}{0in} % distance from left edge of page to text
\setlength{\textwidth}{6.5in}
\setlength{\textheight}{9.4in}

% normal margins for European-size paper
%\setlength{\topmargin}{-.75in} 
%\setlength{\oddsidemargin}{.1in}  % distance from left edge of page to text
%\setlength{\evensidemargin}{.1in} % distance from left edge of page to text
%\setlength{\textwidth}{6.1in}
%\setlength{\textheight}{9.4in}

% This defines the \cramped macro, which reduces whitespace around \items
\def\cramped                                    % "Cramped" list style.
  {\parskip\@outerparskip\@topsep\parskip       % put after \begin{itemize}
  \@topsepadd2pt\itemsep0pt                     %
%  \settowidth{\labelwidth}{\@itemlabel}                %
%  \advance\leftmargin-\labelsep                        %
%  \advance\leftmargin-\labelwidth              %
%  \advance\@totalleftmargin-\leftmargin                %
%  \advance\linewidth\leftmargin                        %
%  \parshape1\@totalleftmargin\linewidth                %
}

%\pagestyle{fancy}
%\fancyhf{}
%\renewcommand{\headrulewidth}{0.5pt}
%%\renewcommand{\footrulewidth}{0.5pt}
%\addtolength{\headheight}{0.5pt}
%%\addtolength{\headsep}{25pt}
%%\addtolength{\footskip}{25pt}
%\fancyhead[LO,LE]{CPS 230---Design and Analysis of Algorithms, Fall 2002}
%\fancyhead[RO,RE]{Prof.\ John Reif}

\long\def\cps230header{\begin{center}
\large\bf CPS 230 \hfill Prof.\ John Reif\\
\large\bf Design and Analysis of Algorithms \hfill Fall 2002
\end{center}}





