% use 'handout' to produce handouts
%\documentclass[handout]{beamer}
\documentclass{beamer}
\usepackage{wasysym,graphicx,pgfpages,Sweave}
\newcommand{\vn}[1]{\mbox{{\it #1}}}
\newcommand{\vb}{\vspace{\baselineskip}}
\newcommand{\vh}{\vspace{.5\baselineskip}}
\newcommand{\vf}{\vspace{\fill}}
% I define 'mypause to be either \pause or null so I can decide
% later if I want to use overlays
\newcommand{\mypause}{}
%\newcommand{\mypause}{\pause}

%  uncomment the next line for handouts
%\pgfpagesuselayout{4 on 1}[letterpaper, border shrink=5mm,landscape]

%  Boadilla has page numbers, but no navigation bar
%  Frankfurt has no page numbers but does have a navigation bar
%\usetheme{Boadilla}
\usetheme{Frankfurt}
%\usepackage{beamerthemesplit}

%  I like to use Maroon and Gold rather than White and Blue, and
%  sienna for some highlighting.  I define the colors myself
\definecolor{maroon}{rgb}{.6902,.1882,.3765}
\definecolor{sienna}{rgb}{.53,.31,.16}
\definecolor{gold}{rgb}{1,.84314,.0000}
\setbeamercolor{frametitle}{fg=maroon,bg=gold}
\usecolortheme[named=maroon]{structure}

\title{Presentations with beamer}
\author[S. Weisberg]{Sanford Weisberg}
\institute{Univ. of Minnesota}
\date{February 1, 2008}

\begin{document}

% If you don't like section header slides, comment out the following
\AtBeginSection[]{%
\begin{frame}
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
% End for section header slides

\frame{\titlepage}

% Comment out if you don't want a table on contents slide
\frame{\tableofcontents}

\section{Section one}

\begin{frame}
\frametitle{A list}

Insert a pause
\begin{itemize}
\item list1
\item list2
\item list3 \pause
\item list4
\end{itemize}
\end{frame}

\section{section 2}

\begin{frame}
\frametitle{Using blocks}
\begin{block}{Block title}
Block content
\end{block}

\alert{An alert}
\end{frame}

\begin{frame}
\frametitle{a figure}
\centerline{\includegraphics[width=.7\textwidth]{forbes1.pdf}}
\end{frame}

\end{document}


		
