\def\sdovers{OhioU Slide style 2.2.0 by Shawn Ostermann <Mon Jun  9, 1997>}
\everyjob{\typeout{\sdovers}}
\immediate\write10{\sdovers}

\usepackage{ifthen}

% I don't like the asterisk '*' it uses for the third level...
\renewcommand{\labelitemiii}{$\circ$}
\renewcommand{\labelitemiii}{$\bullet$}
\renewcommand{\labelitemiii}{{\small $\bullet$}}
\renewcommand{\labelitemiii}{{\raisebox{0.35ex}[0pt]{\tiny $\bullet$}}}

% ... just do the right thing ...
\sloppy
\raggedright


\hyphenpenalty=10000
\exhyphenpenalty=10000

\setlength{\topmargin}  {-0.75in}
\setlength{\headheight} { 0.60in}
%\setlength{\headsep}    { 1.00in}
\setlength{\headsep}    { 0.8in}

\setlength{\footskip}   { 0.5in}

\setlength{\textwidth}  { 8.50in}
%\setlength{\textheight} { 5.50in}
\setlength{\textheight} { 5.70in}

\setlength{\oddsidemargin}{0.1in}
\setlength{\evensidemargin}{0.1in}



%
%  the Left, Center, and Right footers
%
\def\sslidetitlel{Ohio University}
\def\sslidetitlec{Computer Science}
\def\sslidecopyright{Copyright Shawn Ostermann/Mark Allman 1997}


\def\ps@empty{
  \def\ps@slide{
    \def\@oddfoot{}
    \def\@evenfoot{}
    \def\@oddhead{}
    \def\@evenhead{}}
  \def\ps@overlay{
    \def\@oddfoot{}
    \def\@evenfoot{}
    \def\@oddhead{}
    \def\@evenhead{}}
  \def\ps@note{
    \def\@oddfoot{}
    \def\@evenfoot{}
    \def\@oddhead{}
    \def\@evenhead{}}
  }


\newsavebox{\titlebox}
\def\ps@sdoplain{
  \def\ps@slide{
    \def\@oddfoot{\@mainsize%
      {\setlength{\unitlength}{1in}%
        \begin{picture}(0,0)
          \put(4.3,3.62){\oval(9.25,7.25)}
          \put(-0.1,-0.15){\makebox(0,0)[bl]
            {\colorbox{white}{\sslidetitlel}}}
          \put(8.75,-0.15){\makebox(0,0)[br]
            {\colorbox{white}{\sslidetitlec}}}
          \put(8.75,-0.33){\makebox(0,0)[r]
            {\makebox{\rm\theslide}}}
          \put(4.2,-0.33){\makebox(0,0){\sslidecopyright}}
        \end{picture}\hfil}
      }
    \def\@oddhead{\@mainsize%
      \sbox{\titlebox}{\large\bf\parbox[t]{0.95\textwidth}%
        {\baselineskip 24pt \center\sstitle}}%
      \def\tempnull{}
      \ifx\sstitle\tempnull{}\else{
        \setlength{\unitlength}{1in}%
        \definecolor{sdogray}{gray}{0.75}
        \begin{picture}(6.2,0)
          \put(0.05,-0.05){\colorbox{black}{\usebox{\titlebox}}}
          \put(0.0,0){\colorbox{sdogray}{\usebox{\titlebox}}}
        \end{picture}\hfil}\fi}
    \def\@evenhead{}}
  \def\ps@overlay{
    \def\@oddfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}
    \def\@evenfoot{\@mainsize \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}
    \def\@oddhead{}
    \def\@evenhead{}}
  \def\ps@note{
    \def\@oddfoot{\@mainsize  \hbox{}\hfil note -- (\thenote)}
    \def\@evenfoot{\@mainsize \hbox{}\hfil note -- (\thenote)}
    \def\@oddhead{{\mbox{}\parbox[t]{\textwidth}
        {\center (notes to myself)\mbox{}}}}
    \def\@evenhead{}}
  }



\def\sslide#1#2{
\def\sstitle{#1}
\stepcounter{slide}
\gdef\@slidesw{T}\if@onlyslidesw
\@whilenum \c@slide > \@doslidehigh\relax
\do{\@setlimits\@doslidelist\@doslidelow\@doslidehigh}\ifnum
\c@slide < \@doslidelow\relax\gdef\@slidesw{F}\fi\fi
\if\@slidesw T\gdef\@slidesw{F}\begingroup\if@bw\gdef\@slidesw{T}\else
\@color{#2}\if@visible \gdef\@slidesw{T}\fi\fi\endgroup\fi
\if\@slidesw T\newpage\thispagestyle{slide}%
\else\end{slide}\@gobbletoend{slide}\fi}

\def\endsslide{\par\break}



\def\note{\stepcounter{note}%
\if@bw \gdef\@slidesw{T}\if@onlynotesw\@whilenum \c@slide > \@donotehigh\relax
\do{\@setlimits\@donotelist\@donotelow\@donotehigh}\ifnum
\c@slide < \@donotelow\relax \gdef\@slidesw{F}\fi\fi
\else\gdef\@slidesw{F}\fi
\if\@slidesw T\newpage\thispagestyle{note}\else
\end{note}\@gobbletoend{note}\fi}

\def\endnote{\par\break}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I like my slides a little 'tighter'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\normalsize{
  \def\@currsize{\@normalsize}\rm
  \baselineskip 28pt    % originally 30pt
  \lineskip 2pt
  \def\@parskip{15pt}   % originally 39pt
  \parskip\@parskip
  \abovedisplayskip 15pt
  \belowdisplayskip 10pt
  \abovedisplayshortskip 13pt
  \belowdisplayshortskip 13pt
  \setbox\strutbox=\hbox{\vrule height17pt depth7pt width0pt}
  \baselineskip\baselinestretch\baselineskip
  \normalbaselineskip\baselineskip
  }
\def\tight{
  \baselineskip 28pt    % originally 30pt
  \parskip 16pt
  }
\def\Tight{
  \baselineskip 24pt    % originally 30pt
  \parskip 13pt
  }
\def\TIGHT{
  \baselineskip 20pt    % originally 30pt
  \parskip 10pt
  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% A nice Ohio University Seal for the footer
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\ohiofooterseal{\raisebox{-22pt}{\ohiosealsmaller}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Suck in the magic for the Ohio Seal ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\input{ohioseal.tex}
