Presentations Using Latex: An Introduction To The Beamer Class
Presentations Using Latex: An Introduction To The Beamer Class
Marek Seliger
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
1 Introduction
Aspects of presentations using a computer
Why using LaTeX to produce a PDF Presentation
First Steps
2 Creation of a Presentation
Basic steps
Structuring slides
3 Advanced
Timings
Alternative Timing
Colors
Overprint
4 Bonus
Grafics
Modi and Themes
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
It’s up to date
Get color, incremental display for free
Lecture halls have usually a better beamer than projector
No need to lug slides to conference
Talk can be easily posted and sent to colleagues
Copier slides cost 0.10 EUR each, printer slides 1 EUR each
No drag-and-drop, i.e. everything is reproducible
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Projector Trouble
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Useful features
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Advantages
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
First Steps
Installation
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
First Steps
Once you have installed the beamer class, the basic steps to create
a beamer presentation are the following:
1 Specify beamer as document class instead of article.
2 Structure your LaTeX text using section and subsection
commands.
3 Place the text of the individual slides inside frame commands.
4 Run pdflatex on the text (or latex and dvips).
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
First Steps
References
Till Tantau
Users Guide to the Beamer Class
Version 3.01
http://latex-beamer.sourceforge.net
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Basic steps
Creation of a Presentation
Compile with
1 pdflatex file.tex
The PDF-File can be viewed with a viewer of your choice.
Adobe Reader supports transition effects and Full-Screen-modus.
alternative:
1 latex file.tex
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Basic steps
Minimal Template
\documentclass{beamer}
\usetheme{Berkeley}
\title{My Presentation}
\author{Myself}
\institute{Here}
\date{January 2006}
\begin{document}
\frame{ \titlepage}
\frame{ BlaBla }
\end{document}
Marek Seliger
Presentations using LaTeX
What if you need more room on a slide? You can also do a plain
slide (like this one, without header and footer graphics) by using
\begin{frame}[plain]
Introduction Creation of a Presentation Advanced Bonus
Structuring slides
Example
Beamer also offers the example environment
\begin{example}
\end{example}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Structuring slides
Theorem
2=1
Proof.
−2 = −2
4−6=1−3
4 − 6 + 9/4 = 1 − 3 + 9/4
(2 − 3/2)2 = (1 − 3/2)2
2 − 3/2 = 1 − 3/2
2=1
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Structuring slides
You can emphasize text, like this, using this which is colored red by
default.
Heres An alertblock
Get an emphasized block using
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Structuring slides
Columns
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Structuring slides
Columns
\begin{columns}
\begin{column}{3cm}
\begin{block}{Smaller Column 1} ... \end{block}
\end{column}
\begin{column}{5cm}
\begin{block}{Bigger Column 2} ... \end{block}
\end{column}
\end{columns}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\pause
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Timings
\begin{itemize}
\pause \item Item Aaay
\pause \item Item Bee
\pause \item Item See
\end{itemize}
\begin{enumerate}
\pause \item Item Won
\pause \item Item Too
\pause \item Item Tree
\end{enumerate}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\begin{itemize}[<+-| alert@+>]
\item Item Aaay
\item Item Bee
\item Item See
\item Item Dee
\end{itemize}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\begin{itemize}[<+-| alert@+>]
\item Item Aaay
\item Item Bee
\item Item See
\item Item Dee
\end{itemize}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\begin{itemize}[<+-| alert@+>]
\item Item Aaay
\item Item Bee
\item Item See
\item Item Dee
\end{itemize}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\begin{itemize}[<+-| alert@+>]
\item Item Aaay
\item Item Bee
\item Item See
\item Item Dee
\end{itemize}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
\alert<1>{First instruction} \\
\alert<2,5,8>{Loop instruction $a$} \\
\alert<3,6,9>{Loop instruction $b$} \\
\alert<4,7,10>{Loop instruction $c$} \\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Alternative Timing
Timings
Item Eee
Alternative Timing
Timings
Item Eee
Alternative Timing
Timings
Item Eee
Alternative Timing
Timings
Item Bee
Item See
Item Dee
Item Eee
Alternative Timing
Timings
Item See
Item Dee
Colors
\setbeamercolor{mycolor}{fg=red,bg=blue}
\begin{beamercolorbox}{mycolor}
some text in red on blue background
\end{beamercolorbox}
\setbeamercolor{mycolor2}{fg=blue,bg=green}
\begin{beamercolorbox}{mycolor2}
some text in blue on grey background
\end{beamercolorbox}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Colors
fg=red,bg=white
fg=black,bg=red
fg=yellow,bg=black
fg=red,bg=green
are there even more colors?
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Colors
Colors Advanced
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Colors
Colors
Political Nonsense
When in the course of human events ...
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Colors
Colors
Political Nonsense
When in the course of human events ...
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Colors
Colors
Political Nonsense
When in the course of human events ...
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Overprint
Overprint
Theorem
Here is a theorem
Proof.
Here is the first (bad) proof, in red.
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Overprint
Overprint
Theorem
Here is a theorem
Proof.
Here is the second (presumably correct) ...
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Overprint
How to do an Overprint
\begin{overprint}
\onslide<1>
\begin{alertblock}{Proof.}
Here is the first (bad) proof, in red.
\end{alertblock}
\onslide<2>
\begin{proof}
Here is the second (presumably correct) ...
\end{proof}
\end{overprint}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Graphics
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Graphics
Graphics
0.75
Photon intensity 2p1/2 / 2p3/2
Experiment CDW
0.70
solid
0.65 gas
LTDSE
0.60
0.55 CTMC
0.50
0.45
0 1 2
10 10 10
2
Foil thickness [µg/cm ]
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Presentation
\mode<presentation>
\mode<presentation>{\usetheme{Berlin}}
Handouts
\mode<handout>
{\beamertemplatesolidbackgroundcolor{black!5}}
Text/Article
\mode<article>{\usepackage{fullpage}}\
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
Different themes
\usetheme[compress]{Ilmenau}
Marek Seliger
Presentations using LaTeX
Introduction Creation of a Presentation Advanced Bonus
FIN
Marek Seliger
Presentations using LaTeX