%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%   A Beamer presentation by Rodrigo Platte, Arizona State University, May 18 2007.
%   Feel free to modify this file to generate your own presentation.
%
%   This Latex file should be compiled with pdflatex, for this reason, it is recommended 
% that you convert the figures in your presentation to pdf. Postscript files (.ps and .eps) 
% will not compile properly when pdflatex is used. You may use commands like "convert"
% or "eps2pdf" (in linux) to convert your figures. 
%
%   The final output is a PDF file that is best visualized with Adobe Reader.
%
%   More information can be found in beameruserguide.pdf
%
%   This presentation requires the following files:
%   BEAMERoptions.tex, ASUlogo.pdf,  asu.pdf, beamerouterthememathASUlogo.sty
%  intro1.pdf, intro2.pdf, intro3.pdf, intro4.pdf, analytic.pdf
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\documentclass[compress]{beamer}
% Use this instead for printing and distributing your slides (suppresses overlays)
%\documentclass[handout]{beamer}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Edit the file BEAMERoptions.tex to change theme, color, fonts, logo, etc.%
\input{BEAMERoptions.tex}					                                         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Load packages
%%%%%%%%%%%%%%%%%%%%%
\usepackage[english]{babel}
\usepackage{graphics}
\usepackage{multimedia} % for movies and sound
\usepackage{times}
%%%%%%%%%%%%%%%%%%%%%


%% The title and name 
%% Note: [short title]{long title}, [short author(s) name]{long author(s) name}
\title[An introduction to the BEAMER class]{An introduction to the BEAMER class}
\author[R. Platte]{\emph{Rodrigo B. Platte} }
\date[]{}
% Show ASU logo in title page
%%%%%%%%%%%%%%%%%%%%%%
\institute[Mathematics and Statistics]{
\includegraphics[height=.85cm]{ASUlogo.pdf} \\
{\color{ASUred} DEPARTMENT OF \textbf{MATHEMATICS AND STATISTICS}}}
%%%%%%%%%%%%%%%%%%%%%




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Presentation Starts Here %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

%%% Title frame %%%%%
\begin{frame}[plain]
	\titlepage
	\transboxout
\end{frame}

%%%% Outline (optional) %%%%%%%%%%%%%%%%%%%%%
%% The outline depends on \section and \subsection commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
  \frametitle{Outline}
  \tableofcontents[pausesections]
  \transboxin
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section[Introduction]{Introduction}

\subsection{Why Beamer?}


\begin{frame} \frametitle{Presentation tools}
\begin{itemize}
\item Transparencies -- out of fashion
\pause
\item PowerPoint (texpoint ?) -- may have to use this if collaborating with others.
\pause
\item Latex --  you may already have your paper written ... 
\begin{itemize}
\item slide class
\item Prosper 
\item \color{red}{\bf Beamer} 
\end{itemize}	
\end{itemize}
\transboxout
\end{frame}

\begin{frame} \frametitle{Main Features}
 \begin{itemize}
  \item[$\pm$] Created like any other LaTex document.
  \item[$+$] The final output is a PDF file -- easy to share. Uses \emph{pdflatex}.
  \item[$+$] Structure: section, subsection, and table of contents.
  \item[$+$] Easy to create overlays and dynamic effects.
  \item[$+$] Themes allow you to change the appearance of your presentation.
  \item[$+$] Layout , colors, and fonts can easily be changed globally.
 \end{itemize}
\transboxin
\end{frame}

\subsection{Getting Started}

\begin{frame} \frametitle{Help!}
 \begin{itemize}
  \item Ask Renate to install Beamer (if not installed in your computer)
  \item There is a well written User's Guide (200 pages)
  \item There is also info on the department's website.
  \item The internet ...
  \item May look for a solution template (beamer/solutions/conference-talks/)
 \end{itemize}
 \transboxin
\end{frame}

\section[Creating frames with overlay specifications]{Creating frames with overlay specifications}

\subsection[Frames]{Frames}

\begin{frame}[containsverbatim] \frametitle{Creating a simple frame}
\begin{verbatim}
\begin{frame} \frametitle{Help!}
 \begin{itemize}
  \item Ask Renate to install Beamer (if not installed in your computer)
  \item There is a well written User's Guide (200 pages)
  \item There is also info on the department's website.
  \item The internet ...
  \item May look for a solution template (beamer/solutions/conference-talks/)
 \end{itemize}
 \transdissolve
\end{frame}
\end{verbatim}
\end{frame}

\begin{frame} \frametitle{Help!}
 \begin{itemize}
  \item Ask Renate to install Beamer (if not installed in your computer)
  \item There is a well written User's Guide (200 pages)
  \item There is also info on the department's website.
  \item The internet ...
  \item May look for a solution template (beamer/solutions/conference-talks/)
 \end{itemize}
\end{frame}

\subsection[Overlay specifications]{Overlay specifications}

\begin{frame}[containsverbatim,shrink=10] \frametitle{Creating a simple frame with overlay}
\begin{verbatim}
\begin{frame} \frametitle{Presentation tools}
  \begin{itemize}
     \item Transparencies -- out of fashion
     \item<2-> PowerPoint (texpoint ?) -- may have to use this if collaborating with others.
     \item<3-> Latex --  you may already have your paper written ... 
     \begin{itemize}
         \item slide class
         \item Prosper 
         \item \color{red}{\bf Beamer} 
     \end{itemize}	
 \end{itemize}
\end{frame}
\end{verbatim}
\end{frame}

\begin{frame} \frametitle{Presentation tools}
  \begin{itemize}
     \item Transparencies -- out of fashion
     \item<2-> PowerPoint (texpoint ?) -- may have to use this if collaborating with others.
     \item<3-> Latex --  you may already have your paper written ... 
     \begin{itemize}
         \item slide class
         \item Prosper 
         \item \color{red}{\bf Beamer} 
     \end{itemize}	
 \end{itemize}
\end{frame}

\begin{frame}[containsverbatim] \frametitle{More overlay specifications}
\begin{verbatim}
\begin{frame} \frametitle{Presentation tools}
  \begin{itemize}
     \item Transparencies -- out of fashion
     \only<2->{\item PowerPoint (texpoint ?) }
     \only<3->{
     \item Latex --  
     \begin{itemize}
         \item slide class
         \item Prosper 
         \item \color{red}{\bf Beamer} 
     \end{itemize}
     }	
 \end{itemize}
\end{frame}
\end{verbatim}
\end{frame}

\begin{frame} \frametitle{Presentation tools}
  \begin{itemize}
     \item Transparencies -- out of fashion
     \only<2>{\item PowerPoint (texpoint ?) }
     \only<3->{
     \item Latex --  
     \begin{itemize}
         \item slide class
         \item Prosper 
         \item \color{red}{\bf Beamer} 
     \end{itemize}	
     }
 \end{itemize}
\end{frame}

\section[Things I use often]{Things I use often}

\subsection[Graphs and examples]{Graphs and examples}

\begin{frame}[containsverbatim] \frametitle{Graphs}
\begin{verbatim}
\begin{frame} \frametitle{The Hybrid method: A simple example}
\begin{center}
\includegraphics<1>[height=6cm]{intro1.pdf} 
\includegraphics<2>[height=6cm]{intro2.pdf} 
\includegraphics<3>[height=6cm]{intro3.pdf} 
\includegraphics<4>[height=6cm]{intro4.pdf} 
\end{center}
\end{frame}
\end{verbatim}
\end{frame}

\begin{frame} \frametitle{The Hybrid method: A simple example}
\begin{center}
\includegraphics<1>[height=6cm]{intro1.pdf} 
\includegraphics<2>[height=6cm]{intro2.pdf} 
\includegraphics<3>[height=6cm]{intro3.pdf} 
\includegraphics<4>[height=6cm]{intro4.pdf} 
\end{center}
\end{frame}

\begin{frame} \frametitle{Four figures in one frame}
\begin{center}
\includegraphics[height=3.5cm]{intro1.pdf}  \ \includegraphics[height=3.5cm]{intro2.pdf} \\
\includegraphics[height=3.5cm]{intro3.pdf}  \ \includegraphics[height=3.5cm]{intro4.pdf} 
\end{center}
\end{frame}


\subsection[Math and theorems]{Math and theorems}

\begin{frame} \frametitle{Theorems}
Accuracy depends on the analyticity of the product $uw$.
\begin{theorem}[Tadmor 1986]
\centerline{\parbox[b]{2.8cm}{\color{blue} Complex plane: \\ \vspace{1.5cm} } \includegraphics[height=4cm]{analytic.pdf} }
 The error in a Fourier approximation of $f$ is bounded by
$$
\frac{M(\eta)}{\sinh(\eta)}\exp(-N\eta)
$$
\end{theorem}

\end{frame}


%%%%%%%%%%%%%%%%%%%%
\begin{frame} \frametitle{Error estimate}

 $|w(z)|<10$ if \\
 $|\Im z|\le\eta=\displaystyle \pm \pi\left( \frac{ \ln 10}{40} \right) ^{1/(2\lambda)} \sin\left( \frac{\pi}{4\lambda} \right) \to {\color{red} \frac{\pi^2}{4 \lambda}+O(1/\lambda^2)}$
 
\vspace{.3cm}

$$
\frac{M(\eta)}{\sinh(\eta)}\exp(-N\eta) \to  \frac{40\lambda}{\pi^2} \exp(-\pi^2 N / (4\lambda))
$$

\vspace{.3cm}

Choosing $-\pi^2N / (4\lambda) <-30$ leads to {\color{red} $\lambda = \pi^2N/120 \approx 0.08N$}.

\end{frame}
%%%%%%%%%%%%%%%%%%%

\subsection[Animations and movies]{Animations and movies}

\begin{frame}[containsverbatim] \frametitle{A frame with a movie}
\begin{verbatim}
\begin{frame} 
  \frametitle{Wave equation in 2D - $100x100$ Grid}
   \movie[label=cells,width=9.5cm,
              height=7cm,poster,showcontrols,
              duration=30s]{}{wave_green.avi}
\end{frame}
\end{verbatim}
Note: Movies currently won't play in Linux.
\end{frame}


\end{document}
