\def\sdovers{OhioU Slide style 2.2.4 by Shawn Ostermann <Fri Sep 21, 2001>}
\everyjob{\typeout{\sdovers}}
\immediate\write10{\sdovers}

% 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

%\newif\if@video
%\@videofalse
%\@videotrue
%
%\if@video 
%           \typeout{**************************************^^J%
%                     * VIDEO^^J%
%                     **************************************}%
%  \setlength\topmargin{-2.5in}
%  \setlength\oddsidemargin{-1.20in}
%\else
%           \typeout{**************************************^^J%
%                     * LANDSCAPE^^J%
%                     **************************************}%
%\fi


%
% I can't seem to make these rotation-dependant for some reason...
% sdo - Thu Aug 26, 1999
%
\setlength{\topmargin}  {-0.25in}
\setlength{\oddsidemargin}{-0.20in}
\setlength{\headheight} { 0.60in}
\setlength{\footskip}   { 0.5in}

%
%  the Left, Center, and Right footers (default values)
%
\def\sslidetitlel{Ohio University}
\def\sslidetitlec{Computer Science}
\def\sslidecopyright{Copyright Shawn Ostermann \number\year}


%
%  filename, goes next to page numbers
%
\def\sslidefilename{}

\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}
%
% colorscheme
%
\usepackage[dvips]{color}
\definecolor{sslidescolorshaded}{gray}{0.75}  % text in slide header and slide bottom text
\definecolor{sslidescolordark}{gray}{0.00}    % drop shadow behind slide header
\definecolor{sslidescolortext}{gray}{0.00}    % all of the slide text
%
%
\def\ps@sdoplain{
  \def\ps@slide{
    \def\@oddfoot{\@mainsize%
      {\setlength{\unitlength}{1in}%
      \ifx\undefined\Landscape{% Portrait mode
         \begin{picture}(0,0)
          \put(3.4,4.95){\oval(7.6,9.9)}
          \put(-0.1,-0.15){\makebox(0,0)[bl]
            {\colorbox{white}{\sslidetitlel}}}
          \put(6.90,-0.15){\makebox(0,0)[br]
            {\colorbox{white}{\sslidetitlec}}}
          \put(6.90,-0.33){\makebox(0,0)[r]
            {\makebox{\rm\sslidefilename\theslide}}}
          \put(3.4,-0.33){\makebox(0,0){\sslidecopyright}}
        \end{picture}\hfil
        }\else{% Landscape mode (for printing or video)
          \ifx\undefined\Video{% Landscape for overheads
            \begin{picture}(0,0)(0,-0.2)
              \put(4.5,3.62){\oval(9.25,7.25)}
              \put(0.05,-0.15){\makebox(0,0)[bl]
                {\colorbox{white}{\sslidetitlel}}}
              \put(8.95,-0.15){\makebox(0,0)[br]
                {\colorbox{white}{\sslidetitlec}}}
              \put(8.95,-0.33){\makebox(0,0)[r]
                {\makebox{\rm\sslidefilename\theslide}}}
              \put(4.5,-0.33){\makebox(0,0){\sslidecopyright}}
            \end{picture}\hfil
          }\else{% Landscape for video projection
            \textcolor{sslidescolordark}{
            \begin{picture}(0,0)(0,0)
                \put(4.70,3.80){\oval(10.85,8.05)}
                \put(-0.25,-0.40){\makebox(0,0)[bl]
                  {\colorbox{white}{\sslidetitlel}}}
                \put(9.50,-0.40){\makebox(0,0)[br]
                  {\colorbox{white}{\sslidetitlec}}}
                \put(9.80,-0.45){\makebox(0,0)[r]
                  {\makebox{\rm\sslidefilename\theslide}}}
                \put(4.5,-0.45){\makebox(0,0){\sslidecopyright}}
            \end{picture}\hfil
            }
          }\fi
      }\fi}
      }
    \def\@oddhead{\@mainsize%
      \def\tempnull{}
      \ifx\sstitle\tempnull{}\else{
        \sbox{\titlebox}{\large\bf\parbox[t]{0.95\textwidth}%
          {\baselineskip 24pt \center\sstitle}}%
        \setlength{\unitlength}{1in}%
        \ifx\undefined\Landscape{% Portrait mode
          \begin{picture}(6.2,0)(0.1,-0.75)
            \put(0.05,-0.05){\colorbox{sslidescolordark}{\usebox{\titlebox}}}
            \put(0.0,0){\colorbox{sslidescolorshaded}{\usebox{\titlebox}}}
          \end{picture}\hfil
          }\else{% Landscape mode
          \ifx\undefined\Video{% Landscape for overheads
            \begin{picture}(8.0,0)(0.1,-0.5)
              \put(0.05,-0.05){\colorbox{sslidescolordark}{\usebox{\titlebox}}}
              \put(0.0,0){\colorbox{sslidescolorshaded}{\usebox{\titlebox}}}
            \end{picture}\hfil
            }\else{% Landscape for video projection
            \begin{picture}(8.0,0)(0.1,-1.00)
              \put(0.05,-0.05){\colorbox{sslidescolordark}{\usebox{\titlebox}}}
              \put(0.0,0){\colorbox{sslidescolorshaded}{\usebox{\titlebox}}}
            \end{picture}\hfil
            }\fi

          }\fi
        }\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{
\color{sslidescolortext}
\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}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% for slides with bibliography pages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand\refname{}
\newcommand\@openbib@code{%
  \advance\leftmargin\bibindent
  \itemindent -\bibindent
  \listparindent \itemindent
  \parsep \z@
  }%
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\newdimen\bibindent
\setlength\bibindent{1.5em}
\newenvironment{thebibliography}[1]
     {\small{\refname
        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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\loose{
  \higher
  \baselineskip 35pt    % originally 30pt
  \def\@parskip{50pt}   % originally 39pt
  }
\def\tight{
  \higher
  \baselineskip 25pt    % originally 30pt
  \def\@parskip{13pt}   % originally 39pt
  }
\def\Tight{
  \Higher
  \baselineskip 21pt    % originally 30pt
  \def\@parskip{10pt} % originally 39pt
  }
\def\TIGHT{
  \HIGHER
  \baselineskip 18pt    % originally 30pt
  \def\@parskip{8pt}   % originally 39pt
  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Macros for nudging things UP a big
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\higher{\mbox{}\vspace*{-0.25in}}
\def\Higher{\mbox{}\vspace*{-0.50in}}
\def\HIGHER{\mbox{}\vspace*{-1.00in}}


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


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

