Beamer Beamer
Beamer Beamer
LATEX Programming:
Beamer Presentations
Aaron Oaks
Benefits
Drawbacks
http://sourceforge.net/projects/latex-beamer/
Requirements
Sample Preamble
\documentclass[compress]{beamer}
\usetheme{Antibes} % Beamer theme v 3.0
\usecolortheme{lily} % Beamer color theme
Preamble Options
Layout Options
Preamble Options
Presentation Themes
There are quite a few Beamer themes available for use. This
presentation uses “Warsaw”, but there are many others:
Frames (Slides)
Sample Frame
Frames (Slides)
Frame Syntax
\begin{frame}[options]
... slide contents ...
\end{frame}
As a command:
\frame[options]{
... slide contents ...
}
Frames (Slides)
Frame Options
Links
Link Commands
Links
Button Examples
This text is a link target. Beamer offers several buttons for use
with linking, including:
Click Here \beamerbutton{Click Here}
Click Here \beamergotobutton{Click Here}
Click Here \beamerreturnbutton{Click Here}
Framed Text
Default Scheme
Framed Text
Example Theorem
Code:
\begin{thm}[Aaron’s Theorem]
Beamer is the best presentation system out there.
\end{thm}
Framed Text
Example Example
Example
To create an example environment, use newtheorem.
Code:
\begin{ex}
To create an example environment,
use \verb|newtheorem|.
\end{ex}
Framed Text
Example Block
Summary
Blocks can have their own title.
Code:
\begin{block}{Summary}
Blocks can have their own title.
\end{block}
Framed Text
Example Block
Alert
ZOMG This alert block really grabs your attention!!
Code:
\begin{alertblock}{Alert}
ZOMG This alert block really
grabs your attention!!
\end{alertblock}
Overlays
Overview
Stepwise
Pause
You can use the “pause” command for simple stepwise viewing:
\begin{itemize}
\pause \item everything
\pause \item that has a
\pause \item beginning
\pause \item has an end
\end{itemize}
Stepwise
Pause
You can use the “pause” command for simple stepwise viewing:
\begin{itemize}
\pause \item everything everything
\pause \item that has a
\pause \item beginning
\pause \item has an end
\end{itemize}
Stepwise
Pause
You can use the “pause” command for simple stepwise viewing:
\begin{itemize}
\pause \item everything everything
\pause \item that has a that has a
\pause \item beginning
\pause \item has an end
\end{itemize}
Stepwise
Pause
You can use the “pause” command for simple stepwise viewing:
\begin{itemize}
\pause \item everything everything
\pause \item that has a that has a
\pause \item beginning
beginning
\pause \item has an end
\end{itemize}
Stepwise
Pause
You can use the “pause” command for simple stepwise viewing:
\begin{itemize}
\pause \item everything everything
\pause \item that has a that has a
\pause \item beginning
beginning
\pause \item has an end
\end{itemize} has an end
Stepwise
Onslide
Class A B C D
X 1 2 3 4
Stepwise
Onslide
Class A B C D
X 1 2 3 4
Z 5 6 7 8
Stepwise
Onslide
Class A B C D
X 1 2 3 4
Y 3 4 5 6
Z 5 6 7 8
Stepwise
Onslide
Class A B C D
X 1 2 3 4
Y 3 4 5 6
Z 5 6 7 8
Notice onslide uses an overlay counter.
Stepwise
Onslide
\begin{tabular}{l|cccc}
Class & A & B & C & D \\
X & 1 & 2 & 3 & 4 \\
\onslide<3->Y & 3 & 4 & 5 & 6 \\
\onslide<2->Z & 5 & 6 & 7 & 8
\end{tabular}
Stepwise
Item I
\ begin{itemize}
\ item<2-> everything
\ item<3-> that has a
\ item<4-> beginning
\ item<5-> has an end
\ end{itemize}
Stepwise
Item I
\ begin{itemize}
\ item<2-> everything everything
\ item<3-> that has a
\ item<4-> beginning
\ item<5-> has an end
\ end{itemize}
Stepwise
Item I
\ begin{itemize}
\ item<2-> everything everything
\ item<3-> that has a that has a
\ item<4-> beginning
\ item<5-> has an end
\ end{itemize}
Stepwise
Item I
\ begin{itemize}
\ item<2-> everything everything
\ item<3-> that has a that has a
\ item<4-> beginning
beginning
\ item<5-> has an end
\ end{itemize}
Stepwise
Item I
\ begin{itemize}
\ item<2-> everything everything
\ item<3-> that has a that has a
\ item<4-> beginning
beginning
\ item<5-> has an end
\ end{itemize} has an end
Stepwise
Item II
\begin{itemize}[<+->]
\item everything everything
\item that has a
\item beginning
\item has an end
\end{itemize}
Stepwise
Item II
\begin{itemize}[<+->]
\item everything everything
\item that has a that has a
\item beginning
\item has an end
\end{itemize}
Stepwise
Item II
\begin{itemize}[<+->]
\item everything everything
\item that has a that has a
\item beginning
beginning
\item has an end
\end{itemize}
Stepwise
Item II
\begin{itemize}[<+->]
\item everything everything
\item that has a that has a
\item beginning
beginning
\item has an end
\end{itemize} has an end
Stepwise
Item III
\begin{itemize}
\item<2-> everything
\item<4-5> that has a
\item<5> beginning
\item<3-6> has an end
\end{itemize}
Stepwise
Item III
\begin{itemize}
\item<2-> everything everything
\item<4-5> that has a
\item<5> beginning
\item<3-6> has an end
\end{itemize}
Stepwise
Item III
\begin{itemize}
\item<2-> everything everything
\item<4-5> that has a
\item<5> beginning
\item<3-6> has an end
\end{itemize} has an end
Stepwise
Item III
\begin{itemize}
\item<2-> everything everything
\item<4-5> that has a that has a
\item<5> beginning
\item<3-6> has an end
\end{itemize} has an end
Stepwise
Item III
\begin{itemize}
\item<2-> everything everything
\item<4-5> that has a that has a
\item<5> beginning
beginning
\item<3-6> has an end
\end{itemize} has an end
Stepwise
Item III
\begin{itemize}
\item<2-> everything everything
\item<4-5> that has a
\item<5> beginning
\item<3-6> has an end
\end{itemize} has an end
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
GA
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
MOGA
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
pMOGA
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒ I am 5
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
\alt<n>{at n}{not at n} for two alternatives
\alt<11>{I am 11}{I am not 11} ⇒ I am not 11
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
\alt<n>{at n}{not at n} for two alternatives
\alt<11>{I am 11}{I am not 11} ⇒ I am 11
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
\alt<n>{at n}{not at n} for two alternatives
\alt<11>{I am 11}{I am not 11} ⇒ I am not 11
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
\alt<n>{at n}{not at n} for two alternatives
\alt<11>{I am 11}{I am not 11} ⇒ I am not 11
\temporal<n>{before n}{at n}{after n} for three
alternatives
\temporal<14>{I am under 14}{I am 14}{I am
over 14} ⇒ I am under 14
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
\alt<n>{at n}{not at n} for two alternatives
\alt<11>{I am 11}{I am not 11} ⇒ I am not 11
\temporal<n>{before n}{at n}{after n} for three
alternatives
\temporal<14>{I am under 14}{I am 14}{I am
over 14} ⇒ I am 14
Replace
Successive: \only<n>{...}
\only<1>{GA}\only<2>{MOGA}\only<3>{pMOGA} ⇒
\uncover<n>{...} shows at given slide
\uncover<5>{I am 5} ⇒
\invisible<n>{...} hides at given slide
\invisible<8>{Invisible at 8} ⇒ Invisible at 8
\alt<n>{at n}{not at n} for two alternatives
\alt<11>{I am 11}{I am not 11} ⇒ I am not 11
\temporal<n>{before n}{at n}{after n} for three
alternatives
\temporal<14>{I am under 14}{I am 14}{I am
over 14} ⇒ I am over 14
Highlighting
Simple Highlighting
\begin{itemize}[<+-|
structure@+¿]
everything
\item everything
\item that has a
\item beginning
\item has an end
\end{itemize}
Highlighting
Simple Highlighting
\begin{itemize}[<+-|
structure@+¿]
everything
\item everything
\item that has a that has a
\item beginning
\item has an end
\end{itemize}
Highlighting
Simple Highlighting
\begin{itemize}[<+-|
structure@+¿]
everything
\item everything
\item that has a that has a
\item beginning beginning
\item has an end
\end{itemize}
Highlighting
Simple Highlighting
\begin{itemize}[<+-|
structure@+¿]
everything
\item everything
\item that has a that has a
\item beginning beginning
\item has an end has an end
\end{itemize}
Highlighting
Alert Highlighting
\begin{itemize}
\item<2-| alert@2> everything
\item<2-| alert@3> that has a
\item<2-| alert@4> beginning
\item<2-| alert@5> has an
end
\end{itemize}
Highlighting
Alert Highlighting
\begin{itemize}
\item<2-| alert@2> everything
everything
\item<2-| alert@3> that has a
\item<2-| alert@4> beginning that has a
\item<2-| alert@5> has an beginning
end has an end
\end{itemize}
Highlighting
Alert Highlighting
\begin{itemize}
\item<2-| alert@2> everything
everything
\item<2-| alert@3> that has a
\item<2-| alert@4> beginning that has a
\item<2-| alert@5> has an beginning
end has an end
\end{itemize}
Highlighting
Alert Highlighting
\begin{itemize}
\item<2-| alert@2> everything
everything
\item<2-| alert@3> that has a
\item<2-| alert@4> beginning that has a
\item<2-| alert@5> has an beginning
end has an end
\end{itemize}
Highlighting
Alert Highlighting
\begin{itemize}
\item<2-| alert@2> everything
everything
\item<2-| alert@3> that has a
\item<2-| alert@4> beginning that has a
\item<2-| alert@5> has an beginning
end has an end
\end{itemize}
Highlighting
Alternative Highlighting
Highlighting
Alternative Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Alternative Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Alternative Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Alternative Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Alternative Highlighting
Code:
\begin{itemize}
\item<2-> \alt<2>{\color{blue} Everything}
{\color{gray} Everything}
\item<2-> \alt<3>{\color{blue} that has a}
{\color{gray} that has a}
\item<2-> \alt<4>{\color{blue} beginning}
{\color{gray} beginning}
\item<2-> \alt<5>{\color{blue} has an end.}
{\color{gray} has an end.}
\end{itemize}
Highlighting
Temporal Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Temporal Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Temporal Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Temporal Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Temporal Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Temporal Highlighting
Everything
that has a
beginning
has an end.
Highlighting
Alternative Highlighting
Code:
\begin{itemize}
\temporal<3>{\color{gray}}{\color{blue}}
{\color{blue!25}} \item Everything
\temporal<4>{\color{gray}}{\color{blue}}
{\color{blue!25}} \item that has a
\temporal<5>{\color{gray}}{\color{blue}}
{\color{blue!25}} \item beginning
\temporal<6>{\color{gray}}{\color{blue}}
{\color{blue!25}} \item has an end.
\end{itemize}