%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  BeamerLecture  V1.0
%   Don Eisenstein, Last Update 8/22/06 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%pdflecture infile:    Your lecture slides with full animation, etc. 
%                OutPut:   infileLecture.pdf
%
%pdfnote infile:       2-up lecture notes, with the slide on top and your notes below. 
%                OutPut:   infileNOTE.pdf
%
%pdfclass infile:      2-up handouts for the class, which hides everything within a \hush 
%               environment.   In this way certain frames or material within frames can
%               be omitted from the student handout
%                OutPut:   infileClass2up.pdf
%
%pdfpost infile, pdfpost2up infile:   Intended to post or handout to students after the lecture, it 
%              does not include animation (so only one frame per slide), and it does include
%              all material, including previously \hush'ed material 
%                OutPut:   infilePost.pdf
%                OutPut:   infilePost2up.pdf
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Use this section for your LECTURE slides: 
% To use manually, without the bash scripts, delete %LECTURE% from the beginning of each of the following lines
%
%LECTURE%\documentclass{beamer}
%LECTURE%\newcommand{\hushit}{\only<handout:0>}
%LECTURE%\newcommand{\hushframe}{\frame<handout:0>}
%LECTURE%\newcommand{\classframe}{\frame<0>}
%LECTURE%\usepackage{beamerthemeMalmoe}  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Use this section for student In-CLASS 2-up Handout slides
%
\documentclass[blue,handout]{beamer}     % use to produce handouts (printed slides)
\newcommand{\hushit}{\only<handout:0>}
\newcommand{\hushframe}{\frame<handout:0>}
\newcommand{\classframe}{\frame}
\usepackage{beamerthemeMalmoe}  % Clean, less color, easy on printing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Use this section for student POST-CLASS Handout slides
%
%POST%\documentclass[blue,handout]{beamer}     % use to produce handouts (printed slides)
%POST%\newcommand{\hushit}{\only<handout:0->}
%POST%\newcommand{\hushframe}{\frame}
%POST%\newcommand{\classframe}{\frame<handout:0>}
%POST%\usepackage{beamerthemeMalmoe}  % Clean, less color, easy on printing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Use this section for instructor notes
%
%NOTE%\documentclass[blue,handout,notes=onlyslideswithnotes]{beamer}     % use to produce handouts (printed slides)
%NOTE%\newcommand{\hushit}{\only<handout:0->}
%NOTE%\newcommand{\hushframe}{\frame}
%NOTE%\newcommand{\classframe}{\frame<handout:0>}
%NOTE%\usepackage{beamerthemeMalmoe}  % Clean, less color, easy on printing
%NOTE%\usetemplatenote[plain]{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  CUSTOMIZE HERE (or simply replace in your source) the following:
%
%    Packages you always use:
%\usepackage{graphics}
%\usepackage{fancybox}
%\usepackage{amsmath,amsthm}
%   Personal Data:
\author{Don Eisenstein \\ Copyright 2006}
\institute{The University of Chicago}
\date{\today}
%   School logo:
%\logo{\includegraphics[height=0.15in]{image003.pdf}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  ALERT, STUCT and HUSH commands
%
% Usage:   Make \alrt{THIS RED}
%          The secret is \hush{cubs win}
%          The secret is revealed \hushalrt{in red}
%
\newcommand{\alrt}[1]{{\color{alert} #1}}
\newcommand{\alrtl}[1]{{\color{alert}\large #1}}
\newcommand{\alrtL}[1]{{\color{alert}\Large #1}}
\newcommand{\struc}[1]{{\color{structure} #1}}
\newcommand{\strucL}[1]{{\color{structure}\Large #1}}
\newcommand{\strucl}[1]{{\color{structure}\large #1}}
%
\newcommand{\hush}{\hushit}
%
\newcommand{\hushalrt}[1]{\hushit{{\color{alert} #1}}}
\newcommand{\hushalrtl}[1]{\hushit{{\large\color{alert} #1}}}
\newcommand{\hushalrtL}[1]{\hushit{{\Large\color{alert} #1}}}
\newcommand{\hushstruc}[1]{\hushit{{\color{structure} #1}}}
\newcommand{\hushstrucl}[1]{\hushit{{\large\color{structure} #1}}}
\newcommand{\hushstrucL}[1]{\hushit{{\Large\color{structure} #1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Reset some default colors for itemize/enumerate/description environments
%
\setbeamercolor{description item}{fg=darkred!80!black}  %  Color of key word in desciption 
%
\definecolor{darkred}{rgb}{0.8,0,0}
\setbeamercolor{item}{fg=green}  %  The dot color
\definecolor{darkblue}{rgb}{0,0,0.8}
\setbeamercolor{itemize/enumerate body}{fg=black}    % Text Level 1
\setbeamercolor{itemize/enumerate subbody}{fg=darkblue}    % Text Level 2
\setbeamercolor{itemize/enumerate subsubbody}{fg=green!25!black}    % Text Level 3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Used to reset basic black for itemize/enumerates within certain environments
%
\newcommand{\blackcolors}{\setbeamercolor{itemize/enumerate body}{fg=black}%
\setbeamercolor{itemize/enumerate subbody}{fg=black}%
\setbeamercolor{itemize/enumerate subsubbody}{fg=black}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  used with transstruc and transalert environment to shade hidden text
%
\newcommand{\cover}{\setbeamercovered{transparent=0}}
\newcommand{\semicover}{\setbeamercovered{transparent=30}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Try these instead of the itemize environments, that is:  
%
% \begin{ialert}
%   \item hello
%   \item hello again
% \end{ialert}
%
%  iitemize is a standard, to reveal successive items on successive slides
%
\newenvironment{iitemize}{\pause\begin{itemize}[<+->]}{\end{itemize}}
\newenvironment{idescription}{\pause\begin{description}[<+->][.]}{\end{description}}
%
%
%  These others are fancier, higlightling the current item, making hidden
%   items translucent, etc..  Try them out to see. 
%
\newenvironment{ialert}{\pause\begin{itemize}[<+-| alert@+>]\blackcolors}{\end{itemize}}
\newenvironment{ishowalert}{\begin{itemize}[<1-| alert@+>]\blackcolors}{\end{itemize}} 
\newenvironment{itrans}{\semicover\pause\begin{itemize}[<+->]}{\end{itemize}\cover}
\newenvironment{itransalert}{\semicover\begin{itemize}[<+-| alert@+>]\blackcolors}{\end{itemize}\cover}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%
%  I pad some commented out lines so that the file is a nice 
%  even 200 lines long.  This way latex line number error messages are easy to find in 
%  your source file.
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
