\documentclass[10pt]{beamer}

% Packages
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{amsmath}
\usepackage{sidecap}
\usepackage{verbatim}


% Beamer settings -------------------------------------
\usepackage{beamerthemesplit}
\usecolortheme{beaver}
\usefonttheme[onlymath]{serif}

% Custom commands and settings ------------------------
\providecommand*{\unit}[1]{\ensuremath{\mathrm{\,#1}}}
\newcommand{\degree}{\ensuremath{^\circ}}
\colorlet{DarkGreen}{green!60!black}
\newcommand{\done}{\textcolor{DarkGreen}{~\Large \checkmark}}
\def\minipg#1#2{\begin{minipage}{#1} #2 \end{minipage}}
%\setlength\fboxsep{0pt}


\usepackage[utf8]{inputenc}


% Front Matter ----------------------------------------
\title{Introduction to Beamer}
\subtitle{Graduate Student Seminar Series on LaTeX}
\author{Igor Senderovich}
\date{April 30, 2010}
\institute{ 
 \includegraphics[width=.30\textwidth]{UConnLogo.eps} \\
 { \textcolor{blue!55!black}{\normalsize 
 \fontfamily{dayrom}\selectfont Department of Physics}}     
}
  

% Compilation control
%\includeonlyframes{FrameDec}

% -----------------------------------------------------
\begin{document}

\frame[label=TitlePage]
{\titlepage}

\frame[label=Outline]
{
	\frametitle{Outline}
	\tableofcontents
}



\section{Introduction}

\subsection{Motivation for using Beamer}

\frame[label=MotivSlide]
{
	\frametitle{LaTeX versus Power Point for Presentations}
	
	\begin{table}
		\centering 
			\small
			\begin{tabular}{p{.43\textwidth}p{.43\textwidth}}
			  	
				{\normalsize Features of Beamer }  & {\normalsize Features of Power Point} \\
				\hline \hline 
				
				\raggedright Professional layout and typeset of \LaTeX & Easily customizable layout \\
				\hline
				\raggedright Highly portable owing to its simplicity and ubiquity of PDF viewers  & 
				Animation/Special effects-rich \\
				\hline
				Familiar \LaTeX -coded design & 
				{\bf W}hat {\bf Y}ou {\bf S}ee {\bf I}s {\bf W}hat {\bf Y}ou {\bf G}et design ease \\
				\hline
				\raggedright Natural transfer of EPS plots or equations from papers &
				Easy vector-graphic diagrams right on the slide  \\
				\hline
				
			\end{tabular}
	\end{table}

	\par\bigskip	
	...the approach is up to you, but I trust you will be convinced. 
	\par\smallskip
	\centering \underline{Let's see if I \hyperlink{Conclusion}{succeed}.}
	
}

\subsection{Approach to Presentation-Making}


\frame
{
	\frametitle{Presentation design in Beamer: the concept}
	
	{\large Here are the main concepts in Beamer presentation structure}
	
	
	\begin{itemize}
		\item Think of Beamer presentations as traditional video animations: every new slide or 
	  transition within a slide is a new page.
	  \item \LaTeX-style document organization:	  
			\begin{itemize}
				\item sections, subsections, appendices (e.g. for backup sided) 
				\item centrally maintained properties like author, title and date for later use in footers etc.
				\item themes and color palettes set in style sheets; selected with special Beamer commands.
			\end{itemize}
		\item Optional/recommended hyper-linked navigation bars show presentation progress 
					based on section/subsection definitions
						  
	\end{itemize}


}

\section{Short Tutorial}


\subsection{Configuration in header}

\frame[containsverbatim]
{		
	\frametitle{Package definition/configuration}

	Here is the key part of my header for this presentation:
	
	\footnotesize
	
	\begin{quote}
		\begin{verbatim}
			\documentclass[10pt]{beamer}
			
			% Beamer settings -------------
			\usepackage{beamerthemesplit}
			\usecolortheme{beaver}
			\usefonttheme[onlymath]{serif}
			
			% Packages --------------------
			\usepackage{graphicx}
			\usepackage{wrapfig}
			\usepackage{amsmath}
			\usepackage{sidecap}
		\usepackage{verbatim}
			...
		\end{verbatim}
		\end{quote}
}


\frame[containsverbatim]
{
	\frametitle{Front matter}
	
	Then we add some definitions for the front matter (title page), 
		footers or anywhere else we want to use it.

	\small
	
	\begin{quote}
		\begin{verbatim}
	
			\title{Introduction to Beamer}
			\subtitle{Graduate Seminar Series on LaTeX}
			\author{Igor Senderovich}
			\date{April 30, 2010}
			\institute{ 
			  \includegraphics[width=.30\textwidth]{UConnLogo.eps} \\
			    { \textcolor{blue!55!black}{\normalsize 
			 \fontfamily{dayrom}\selectfont Department of Physics}}}     
  		\end{verbatim}
	\end{quote}
	
	\small

	Now, with
	\small
		\begin{quote}
  		\verb|\begin{document}|
  	\end{quote}
  \normalsize
	we are ready to roll...

}

\subsection{Making slides}

\frame[containsverbatim]
{ 
	\frametitle{Frame declaration}

	Slides are referred to as ``frames'' and are declared as a new environment like so:
	\small
	\begin{quote}
		\begin{verbatim}
			\begin{frame}
			    \frametitle{My first beamer frame!}
			    My content...
			\end{frame}
		\end{verbatim}
	\end{quote}
	
	\normalsize
	\par\bigskip
	
	
	Or you can use a shortcut command:
	\small
	\begin{quote}
		\begin{verbatim}
			\frame{
			    \frametitle{My first beamer frame!}
			    My content...
			}
		\end{verbatim}
	\end{quote}
}

\frame[containsverbatim]
{
	\frametitle{Selective compilation}	
	
	One concern you may have is the annoying turnaround time between
	adjusting your code and viewing the results. Try:
	
	\small
	\begin{quote}
		\verb|\documentclass[draft]{beamer}|
	\end{quote}

	\normalsize
	
	This bypasses proper headline/footline updating.
	
	\line(1,0){300}

	\par\medskip

	Frame option:
	\begin{quote}\small
	  {\tt \verb|\|frame[label=Ansatz]\{...} 
	\end{quote}

	 gives you a handle on the frame for later 
		reference or for compilation control using header command:

		\begin{quote}\small
			\verb|\includeonlyframes{Ansatz}|
		\end{quote}

	\normalsize
	
	\begin{itemize}
		\item compile only the frame you are tweaking at the moment to save time. 
		\item quickly change the scope of your presentation and cut down the talk to key slides.
	\end{itemize}
}

\frame[containsverbatim]{
	\frametitle{Special frames}

	There are certain special frames that Beamer will automatically
	generate for you, such as the title and outline:

	\begin{quote}
		\begin{verbatim}
			\frame
			{\titlepage}
			
			\frame
			{
			    \frametitle{Outline}
			    \tableofcontents	
			}	
		\end{verbatim}		
	\end{quote}
	Nice options are available for the \verb|\tableofcontents| command that define
	numbering, style and outline focus (e.g. if you want to introduce a single section's 
	outline later in the talk)
	
	
}

\subsection{Beyond basics}

\frame
{ 
	\transdissolve<1>
	\frametitle{Animation!}


		Tasteful use of animation can help you deliver your point and has a 
			place in a professional presentation. (Ok, the last transition was frivolous.)
		\par\bigskip
		Here, with the {\tt pause} command, I suspended the display of the rest of the slide. 
		\pause		
		\par\bigskip	

		\begin{wrapfigure}{r}{.38\textwidth}
			\vspace{-0.15\textheight}
			\uncover<5>{\includegraphics[width=0.45\textwidth]{CostSav_w6_u400A.eps}
				\vspace{-0.08\textheight}
				\caption{\scriptsize A sample graphic: this too can be uncovered selectively. Note the
					nice wrapping through {\it wrapfig} package.			
				}
			}
		\end{wrapfigure}

		General classes of animations 
		\begin{enumerate}[<+->]
		\item {\it Slide transitions}: simple to implement with commands like 
					{\tt transdissolve} used at top of this slide
		\item {\it Overlays} allow indexing of frame content to specify display order
		\item External movies, sounds etc. (viewer/platform dependent)
		\end{enumerate}



}

\frame[containsverbatim]
{
	\frametitle{Simple overlay animation}
	
	The most basic and commonly desired effect is the incremental introduction of bullet points.
	Here is some code from previous slide

	\footnotesize

	\begin{verbatim}
	   \begin{enumerate}[<+->]
	   \item {\it Slide transitions}: simple to implement with commands 
		         like ``transdissolve'' used at top of this slide
	   \item {\it Overlays} allow indexing of frame content 
	             to specify display order
	   \item External movies, sounds etc. (viewer/platform dependent)
	   \end{enumerate}
	\end{verbatim}

	\normalsize

	Several commands hide content until the given slide index arrives. For the graphic earlier,
	I used:
	\small
	\par\medskip
		\verb|   \uncover<5>{\includegraphics...|
	\normalsize

}

\frame[containsverbatim]
{
	\frametitle{Tips}
	
	\begin{itemize}
		\item With frequent inspections of your PDF, a \LaTeX suite such as 
						TeXnicCenter is convenient.
		\item Aside from native LaTeX coloring, 
					\alert{alert} and \structure{structure}
					give you theme-integrated emphasis with color.
		\item You are not designing a printed page anymore: 
						relative measurements are convenient: \verb|[width=0.3\textwidth]|
		\item Internal hyper-linking brings navigation between concepts 
					e.g. a question you are prepared for can quickly be answered by jumping 
					to a backup slide. Nice, \hyperlink{MotivSlide}{right}? 
	\end{itemize}

}

\frame[label=Conclusion]
{
	\frametitle{Conclusion}

		{\large Hopefully I have shown that Beamer provides:}
		\begin{itemize}
			\item Professional design language
				\begin{itemize}
					\item Styles predefined by skilled designers
					\item Clear, easy to follow and navigate 
					\item Portable: embarrassing/disappointing technical snags are less likely.
				\end{itemize}
			\item Easy extension of your \LaTeX~skills
			\item Natural import of code from papers, wikis etc.
			\item This talk will be posted for reference on my department web page:
							\structure{www.phys.uconn.edu/$\sim$senderovich}
		\end{itemize}


}



\end{document}
