

\makeatletter
\usepackage{type1cm}
\usepackage[scaled=.95]{helvet}
%\usepackage{euler}
%\usepackage[exscale,amsfonts,amssymb]{concmath}
%\usepackage{cmbright}

\usepackage{color}
%\usepackage[dvips]{color}


\definecolor{BackgroundColor}{rgb}{1,1,1}

\definecolor{grey}{rgb}{0.5,0.5,0.5}
\definecolor{ParenGrey}{rgb}{0.2,0.2,0.2}
\definecolor{FriendlyBlue}{rgb}{0,0,1}
\definecolor{FriendlyGreen}{rgb}{0,0.5,0}
\definecolor{FriendlyMagenta}{rgb}{0.8,0,0.8}
\definecolor{BlueishPurple}{rgb}{0.4,0,1.0}
\definecolor{DarkOrchid}{cmyk}{0.40, 0.80, 0.20, 0}
\definecolor{FriendlyRed}{rgb}{0.9,0,0}
\definecolor{FriendlyYellow}{rgb}{1,1,0.5}
\definecolor{PaleYellow}{rgb}{1,1,0.6}
\definecolor{LevyOrange}{cmyk}{0, 0.51, 1., 0}
\definecolor{TrafficLightOrange}{cmyk}{0, 0.51, 1., 0}

\newcommand{\mcyell}[2]{\multicolumn{#1}{@{}>{\columncolor{\SigColor}}l@{}}{#2}}
\newcommand{\rcyell}{\rowcolor{\SigColor}}

\newcommand{\tc}{\textcolor}
\newcommand{\tcO}{\tc{LevyOrange}}
\newcommand{\tcG}{\tc{FriendlyGreen}}
\newcommand{\tcB}{\tc{FriendlyBlue}}
\newcommand{\tcR}{\tc{FriendlyRed}}
\newcommand{\tcP}{\tc{FriendlyMagenta}}

\newcommand{\subhead}[1]{\vspace{\gap}\noindent\tcB{\bfseries #1}}
\newcommand{\mathcol}[1]{\tcG{#1}}

\newcommand{\myprime}{{\normalfont${}'$}}

\newcommand{\mytt}[1]{{\myttpre #1}}
\newcommand{\myttpre}{\frenchspacing\ttfamily}
\newcommand{\mymathtt}[1]{\mathtt{#1}}
\definecolor{OliveGreen}{cmyk}{0.64, 0, 0.95, 0.40}
\newcommand{\myemph}[1]{\tcO{#1}}
\newcommand{\mystrong}[1]{\tcO{\textbf{#1}}}

\newcommand{\slidehead}[1]{%
  \begin{flushleft}%
    \sizeb
    \textbf{\tcR{#1}}%
  \end{flushleft}%
  }

\newenvironment{slide}%
{%
  \vbox to \textheight\relax\bgroup
  }%
{%
  \egroup
  \newpage
  }


\newenvironment{slideitemize}%
{%
  \begin{list}%
    {}%
    {%
      \setlength{\parsep}{0mm}
      \setlength{\topsep}{0mm}
      \setlength{\partopsep}{0mm}
      \setlength{\itemsep}{\gap}
      \setlength{\rightmargin}{0mm}
      \setlength{\leftmargin}{10mm}
      \setlength{\labelwidth}{10mm}
      \setlength{\labelsep}{0mm}
      \setlength{\itemindent}{0mm}
      \renewcommand{\makelabel}[1]{\hfil$\scriptstyle\bullet$~\hfil}
      }%
    }%
  {%
  \end{list}%
  }



\usepackage{alan-jeffreys-lists}
\usepackage{ifthen}
\newcounter{currentlayer}
\setcounter{currentlayer}{0}
\newcommand{\setlayer}[1]{\setcounter{currentlayer}{#1}}

%\layer{1,2,3}{foo}   will make foo appear in layers 1, 2, and 3; and
%                     be white otherwise; the empty list doesn't work though.

%\layernospace{1,2,3}{foo}   will make foo appear in layers 1, 2, and 3; and
%                     take up no space otherwise; the empty list doesn't work though.

\let\textcolorold=\textcolor%

\newcommand{\layerchoice}[3]{%
  \IsMem{\value{currentlayer}}{\Listize[#1]}%
  {#2}{#3}%
  }

\newcommand{\layer}[2]{\layerbground{#1}{white}{#2}}

\newcommand{\layerbground}[3]{%
  \layerchoice{#1}%
  {%\renewcommand{\textcolor}[2]{\textcolorold{##1}{##2}}
    \textcolor{black}{}#3}%
  {\renewcommand{\textcolor}[2]{\textcolorold{#2}{##2}}\textcolor{#2}{#3}}%
  }

\newcommand{\layernospace}[2]{%
  \layerchoice{#1}%
  {\textcolor{black}{}#2}%
  {}%
  }

\newcommand{\layerexec}[2]{%
  \layerchoice{#1}%
  {#2}%
  {}%
  }


\newlength{\gap}
\setlength{\gap}{10pt}


\makeatletter
\newcommand {\HUGE}     {\@setfontsize\HUGE     {29.8598}  {36}}%  30pt
\newcommand {\examplefont}     {\@setfontsize\examplefont     {23}  {30}}%  30pt

\newcommand {\enormous} {\@setfontsize\enormous {35.832}   {43}}%  36pt
\newcommand {\enormousplus} {\@setfontsize\enormousplus {38.4}   {43}}%
\newcommand {\Enormous} {\@setfontsize\Enormous {42.998}   {52}}%  43pt
\newcommand {\ENORMOUS} {\@setfontsize\ENORMOUS {51.598}   {62}}%  52pt
\newcommand {\gigantic} {\@setfontsize\gigantic {61.917}   {74}}%  62pt
\newcommand {\Gigantic} {\@setfontsize\Gigantic {74.301}   {89}}%  74pt
\newcommand {\GIGANTIC} {\@setfontsize\GIGANTIC {89.161pt} {107}}% 89pt
\makeatother

\newcommand{\sizebbb}{\Enormous}
\newcommand{\sizebb}{\enormous}
\newcommand{\sizebbplus}{\enormousplus}
\newcommand{\sizeb}{\HUGE}
\newcommand{\sizez}{\Huge}
\newcommand{\sizes}{\huge}
\newcommand{\sizess}{\LARGE}

\newdimen\baselinedimen
\sizez
\baselinedimen=\baselineskip
\normalsize


\newcommand{\vspring}{\vspace*{\fill}}
\newcommand{\cancelpreitemize}{\vspace{-\baselineskip}}
