\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{cs3212slides}
              [2001/07/28 v1.0; slides for CS3212]

\DeclareOption{color}{%
\AtEndOfPackage{\definecolor{backgroundcolor}{rgb}{0.0,0.0,0.6}}%
\AtEndOfPackage{\definecolor{textcolor}{rgb}{1.0,1.0,0.0}}%
\AtEndOfPackage{\color{textcolor}}%
\AtEndOfPackage{\pagecolor{backgroundcolor}}%
}

\ProcessOptions

\input slidepreamble


\LoadClass{slides}

%\RequirePackage{url}
%\RequirePackage{rotating}
\RequirePackage{color}

\pagestyle{empty}

\usepackage{a4land}

\newcommand{\lecturenumber}[1]{\newcommand{\lnum}{#1}}

\newcommand{\lecturetitle}[1]{\newcommand{\ltit}{#1}}

\newenvironment{Itemize}{%
\begin{itemize}
%\setlength{\parskip}{10pt}
\setlength{\itemsep}{-5pt}
\setlength{\parsep}{-50pt}
}%
{
%\setlength{\parskip}{10pt}
\end{itemize}}

\newenvironment{Slide}[1]{%
\begin{slide}
{\LARGE{#1}}
\vspace{-5mm}
\large
}%
{
\vfill
\vspace{30mm}
{\footnotesize CS3212 Lecture \lnum: \ltit \hfill \theslide}
\end{slide}
}

\newenvironment{TightSlide}[1]{%
\begin{slide}
{\Large{#1}}
\vspace{-5mm}
\normalsize
}%
{
\vfill
\vspace{10mm}
{\footnotesize CS3212 Lecture \lnum: \ltit \hfill \theslide}
\end{slide}
}

\usepackage{amstext}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{calc}
\usepackage{alltt}

\AtBeginDocument{%
\begin{slide}
{\Large CS3212 Programming Languages}\newline
\vspace{10mm}

{\LARGE Lecture \lnum:}\newline
\vspace{-4mm}

{\LARGE \ltit}\newline
\vspace{10mm}

{\Large Martin Henz}
\end{slide}
}
