% arguments : lecture #, lecture date, scribe
\newcommand{\olecturetitle}[4]{
  \newpage
  \noindent
  Algorithms in the Real World (Guy Blelloch) \hfill #3\\
  Lecture \##1 (#2) \hfill Notes by #4\\[-.05in]
  \mbox{}\hrulefill \mbox{}\\
  \setcounter{section}{0}
  \addcontentsline{toc}{part}{#2 (#4)}
}

\newcommand{\lecturetitle}[4]{
  \newpage
  \noindent
  Algorithms in the Real World \hfill Notes by #4\\
  Lecture \##1 (#2) \hfill \copyright 1998 #4 and Guy Blelloch\\[-.05in]
  \mbox{}\hrulefill \mbox{}\\
  \setcounter{section}{0}
  \addcontentsline{toc}{part}{#2 (#4)}
}

\newcommand{\assigntitle}[3]{
  \newpage
  \noindent
  Algorithms in the Real World\\
  Assignment \##1 (#3) \hfill Due Date: #2\\[-.05in]
  \mbox{}\hrulefill \mbox{}\\
  \setcounter{probnum}{0}
  \addcontentsline{toc}{subsection}{Assignment #1 (#3)}
}

\newcounter{probnum}

\newcommand{\prob}{
  \vspace{.1in}
  \refstepcounter{probnum}
  \noindent {\bf Problem \theprobnum:}
}

\newcommand{\emph}[1]{{\em #1}}
\newcommand{\textit}[1]{{\it #1}}
\newcommand{\textbf}[1]{{\bf #1}}
\newcommand{\texttt}[1]{{\tt #1}}
\newcommand{\textrm}[1]{{\rm #1}}
\newcommand{\textsc}[1]{{\sc #1}}
\newcommand{\textem}[1]{{\em #1}}
\newcommand{\vocabterm}[1]{{\em #1}}
\newcommand{\mathbf}[1]{{\bf #1}}
\newcommand{\mathrm}[1]{{\rm #1}}
\newtheorem{definition}{Definition}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}
\newcommand{\proof}[1]{
  \noindent{{\it Proof:}} #1 $\Box$ \vspace{.15in}
}
\newcommand{\proofo}[1]{
  \noindent{{\it Proof Outline:}} #1 $\Box$ \vspace{.15in}
}
\newcommand{\comment}[1]{}
