%%
%%	This is 3304lectures.sty, a style file just for CS 3304 lecture
%%	notes created with the slides document class.  Mostly copied from
%%	4114lectures.sty
%%
%%	Created:  3/31/98	By:  Lenwood S. Heath
%%

\usepackage{array}
\usepackage{slidepagestyles}

\newcommand{\coursenumber}{CS 3304}
\newcommand{\coursetitle}{Comparative Languages}
\newcommand{\instructor}{Lenwood S. Heath}

\newcommand{\firstslidenumber}[1]{\setcounter{slide}{#1}%
\addtocounter{slide}{-1}}

\newcommand{\runningtitlestring}{}

\addtolength{\headheight}{8pt}

\newcommand{\slidetitle}[1]{\begin{center}\Large\bfseries #1\end{center}}
\newcommand{\topictitle}[1]{\textbf{#1}}
\newcommand{\subtitle}[1]{\begin{center}\bfseries #1\end{center}}

\addtolength{\fboxrule}{2pt}
\addtolength{\fboxsep}{3pt}
\newcommand{\answerbox}[1][40pt]{%
\rule{0pt}{28pt}\fbox{\rule[-4pt]{0pt}{18pt}\rule{#1}{0pt} ?}}

\newcommand{\given}{\mid}
\newcommand{\select}[1]{{\langle#1\rangle}}
\newcommand{\I}{\mathrm{I}}
\newcommand{\R}{\mathrm{R}}
\newcommand{\M}{\mathrm{M}}
\newcommand{\N}{\mathrm{N}}
\newcommand{\X}{\mathrm{X}}
\newcommand{\Rplus}{R^+}
\newcommand{\Zplus}{Z^+}

\newcommand{\card}{{\mathrm{card}}}
\newcommand{\naturals}{{\mbox{\textbf{N}}}}
\newcommand{\powerset}{{\mathcal{P}}}
\newcommand{\property}{{\mbox{\textbf{P}}}}

\newcommand{\complement}[1]{\bar{#1}}
\newcommand{\intersect}{\cap}
\newcommand{\union}{\cup}

\newcommand{\ABox}[1][6]{\raisebox{3pt}%
{\fbox{\rule{0pt}{#1pt}\rule{#1pt}{0pt}}}}

\newcommand{\tabularskip}{\\[8pt]}
\newcommand{\tabularstrut}{\rule{0pt}{24pt}}

\newcommand{\dollar}{\$}

\newenvironment{application}{\textbf{APPLICATION. }}{\par}
\newenvironment{example}{\textbf{EXAMPLE. }}{\par}
\newenvironment{exercise}[ 1][]{\textbf{EXERCISE#1. }}{}
\newenvironment{solution}[ 1][]{\textbf{SOLUTION. }}{}
\newenvironment{notation}{\textbf{NOTATION. }}{}
\newenvironment{proof}{\textbf{PROOF. }}{\hspace{20pt}$\ABox$}
\newenvironment{shapes}{\begin{minipage}{4.0in}\rule{0pt}{25pt}\raggedright}%
{\rule[-15pt]{0pt}{20pt}\end{minipage}}

\newlength{\somespace}
\setlength{\somespace}{12pt}

\newlength{\lineheight}
\setlength{\lineheight}{1.0in}

\addtolength{\jot}{8pt}

\renewcommand{\oddfoot}{\coursenumber\ Lecture Notes\hfill%
%\semester%
\hfill}
\renewcommand{\oddhead}{\framebox{\module}\hfill\runningtitlestring}

\newlength{\headshift}
\setlength{\headshift}{60pt}
\addtolength{\headsep}{\headshift}
\addtolength{\voffset}{-\headshift}

\newlength{\footshift}
\setlength{\footshift}{40pt}
\addtolength{\footskip}{\footshift}

\raggedright

