Matthias Gerdts
School of Mathematics The University of Birmingham gerdtsm@maths.bham.ac.uk http://web.mat.bham.ac.uk/M.Gerdts
May 2008
Introduction to Beamer
May 2008
1 / 35
Contents
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 2 / 35
4 5 6
Contents
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 2 / 35
4 5 6
Contents
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 2 / 35
4 5 6
Contents
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 2 / 35
4 5 6
Contents
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 2 / 35
4 5 6
Contents
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 2 / 35
4 5 6
Introduction
Current Section
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 3 / 35
4 5 6
Introduction
B EAMER can also be used to create reports from presentations (useful for handouts or scripts, which can be created automatically)
A A L TEXbased (all common L TEXcommands can be used)
pictures, movies, animations etc can be included easy to use and extremely powerful with a wide range of different styles and themes available advanced users can redene and adjust almost every detail in order to meet personal preferences
Introduction to Beamer
May 2008
4 / 35
Introduction
Creating PDF
Creating a PDF le: use pdflatex filename to create a PDF le pdflatex allows to use the graphic formats .pdf, .jpg, .png pdflatex does not support .ps, .eps Download:
A B EAMER comes with most standard L TEXinstallations
Introduction to Beamer
May 2008
5 / 35
Current Section
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 6 / 35
4 5 6
alternative themes: Frankfurt, Berlin, Bergen,Boadilla, Madrid, AnnArbor, Pittsburgh, Rochester,Antibes,JuanLesPins, . . . alternative color themes: seahorse, structure, albatross, beetle, crane, dove, y, seagull, wolverine, . . .
Introduction to Beamer
May 2008
7 / 35
Dening a titlepage:
\titlepage \title[short title]{title} \subtitle{...} \author[short]{name1 \inst{1} \and name2 \inst{2}} \institute[short]{\inst{1} institute1 \and \inst{2} institute2} \date{...} \logo{...}
Main document:
\begin{document} presentation \end{document}
M. Gerdts (The University of Birmingham) Introduction to Beamer May 2008 8 / 35
header \begin{document} \section{Section 1} \begin{frame} \frametitle{My first slide} a single slide \end{frame} \end{document}
Introduction to Beamer
May 2008
9 / 35
Introduction to Beamer
May 2008
10 / 35
Structuring Documents
Current Section
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 11 / 35
4 5 6
Structuring Documents
Frames
Frame Environment I
A single slide is dened as follows:
\begin{frame} \frametitle{title} \framesubtitle{subtitle} content in standard LaTeX notion \end{frame} Remark: only those contents are displayed which t on a single page
Introduction to Beamer
May 2008
12 / 35
Structuring Documents
Frames
Frame Environment II
Slides with (automatic) pagebreaks are dened as follows:
The \newpage or \pagebreak commands can be used to enforce a pagebreak at a specied position.
M. Gerdts (The University of Birmingham) Introduction to Beamer May 2008 13 / 35
Structuring Documents
Structuring
The commands \part{title} \section{title} \subsection{title} known from LaTeX can be used to structure the presentation. These commands can be used outside of the frame environment. The solely purpose is to create an entry in the table of contents.
Introduction to Beamer
May 2008
14 / 35
Structuring Documents
Table of Contents
Table of Contents I
Table of contents all at once:
\begin{frame} \frametitle{Contents} \tableofcontents \end{frame}
Introduction to Beamer
May 2008
15 / 35
Structuring Documents
Table of Contents
Table of Contents II
Introduction to Beamer
May 2008
16 / 35
Theorems etc.
Current Section
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 17 / 35
4 5 6
Theorems etc.
Introduction to Beamer
May 2008
18 / 35
Theorems etc.
Proof.
\begin{proof} proof \end{proof}
Introduction to Beamer
May 2008
19 / 35
Overlays
Current Section
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 20 / 35
4 5 6
Overlays
Overlays
In order to display parts of text step by step the command \pause can be used, e.g. 2 is prime 3 is prime 4 is not prime
A In L TEX: \begin{itemize} \item 2 is prime \pause \item 3 is prime \pause \item 4 is not prime \end{itemize}
Introduction to Beamer
May 2008
21 / 35
Overlays
Overlays
In order to display parts of text step by step the command \pause can be used, e.g. 2 is prime 3 is prime 4 is not prime
A In L TEX: \begin{itemize} \item 2 is prime \pause \item 3 is prime \pause \item 4 is not prime \end{itemize}
Introduction to Beamer
May 2008
21 / 35
Overlays
Overlays
In order to display parts of text step by step the command \pause can be used, e.g. 2 is prime 3 is prime 4 is not prime
A In L TEX: \begin{itemize} \item 2 is prime \pause \item 3 is prime \pause \item 4 is not prime \end{itemize}
Introduction to Beamer
May 2008
21 / 35
Overlays
Overlays
In order to display parts of text step by step the command \pause can be used, e.g. 2 is prime 3 is prime 4 is not prime
A In L TEX: \begin{itemize} \item 2 is prime \pause \item 3 is prime \pause \item 4 is not prime \end{itemize}
Introduction to Beamer
May 2008
21 / 35
Overlays
Overlays
In order to display items in an itemize or enumerate environment in a specied order the command \item<pages> can be used:
1 2 3 4
this text appears from the rst slide on this text appears from the second slide on this text appears from the third slide on this text appears only on the rst and second slide
A In L TEX: \begin{enumerate} \item<1-> this text appears from the \item<2-> this text appears from the \item<3-> this text appears from the \item<1-2> this text appears only on \end{enumerate}
first slide on second slide on third slide on the first and second slide
Introduction to Beamer
May 2008
22 / 35
Overlays
Overlays
In order to display items in an itemize or enumerate environment in a specied order the command \item<pages> can be used:
1 2 3 4
this text appears from the rst slide on this text appears from the second slide on this text appears from the third slide on this text appears only on the rst and second slide
A In L TEX: \begin{enumerate} \item<1-> this text appears from the \item<2-> this text appears from the \item<3-> this text appears from the \item<1-2> this text appears only on \end{enumerate}
first slide on second slide on third slide on the first and second slide
Introduction to Beamer
May 2008
22 / 35
Overlays
Overlays
In order to display items in an itemize or enumerate environment in a specied order the command \item<pages> can be used:
1 2 3 4
this text appears from the rst slide on this text appears from the second slide on this text appears from the third slide on this text appears only on the rst and second slide
A In L TEX: \begin{enumerate} \item<1-> this text appears from the \item<2-> this text appears from the \item<3-> this text appears from the \item<1-2> this text appears only on \end{enumerate}
first slide on second slide on third slide on the first and second slide
Introduction to Beamer
May 2008
22 / 35
Overlays
Overlays
In order to display parts of the text in a specied order, the commands \only<pagerange>{...} \onslide<pagerange>{...} \uncover<pagerange>{...} can be used:
\onslide<2-3,5>{this text appears on slides 2,3,5 only} \uncover<3->{Text shown from slide 3 on.} text occupies space on all other slides
Introduction to Beamer
May 2008
23 / 35
Overlays
Overlays
In order to display parts of the text in a specied order, the commands \only<pagerange>{...} \onslide<pagerange>{...} \uncover<pagerange>{...} can be used:
\onslide<2-3,5>{this text appears on slides 2,3,5 only} \uncover<3->{Text shown from slide 3 on.} text occupies space on all other slides
Introduction to Beamer
May 2008
23 / 35
Overlays
Overlays
In order to display parts of the text in a specied order, the commands \only<pagerange>{...} \onslide<pagerange>{...} \uncover<pagerange>{...} can be used:
\onslide<2-3,5>{this text appears on slides 2,3,5 only} \uncover<3->{Text shown from slide 3 on.} text occupies space on all other slides
Introduction to Beamer
May 2008
23 / 35
Overlays
Overlays
In order to display parts of the text in a specied order, the commands \only<pagerange>{...} \onslide<pagerange>{...} \uncover<pagerange>{...} can be used:
\only<4->{this text appears from slide 4 on} \onslide<2-3,5>{this text appears on slides 2,3,5 only} \uncover<3->{Text shown from slide 3 on.} text occupies space on all other slides
Introduction to Beamer
May 2008
23 / 35
Overlays
Overlays
In order to display parts of the text in a specied order, the commands \only<pagerange>{...} \onslide<pagerange>{...} \uncover<pagerange>{...} can be used:
\only<4->{this text appears from slide 4 on} \onslide<2-3,5>{this text appears on slides 2,3,5 only} \uncover<3->{Text shown from slide 3 on.} text occupies space on all other slides
Introduction to Beamer
May 2008
23 / 35
Overlays
Mode Specications
It is possible to specify passages in the presentation depending on the current mode <presentation> or <handout> or <article>: \only<article>{This text only appears in article mode} \begin{frame}<presentation> ... \end{frame} \section<presentation>{section only exists in presentation mode}
Introduction to Beamer
May 2008
24 / 35
Special Effects
Current Section
1 2 3
Introduction Structure of a Beamer Document Structuring Documents Frames Sections and Subsections Table of Contents Theorems etc. Overlays Special Effects Style Movies References
Introduction to Beamer May 2008 25 / 35
4 5 6
Special Effects
Introduction to Beamer
May 2008
26 / 35
Special Effects
Style
Introduction to Beamer
May 2008
27 / 35
Special Effects
Movies
\href{run:manutecr3_vorne.mpg}{ \includegraphics[scale=0.08]{manutecr3_vorne.jpg}}
Introduction to Beamer
May 2008
28 / 35
Special Effects
Movies
Special Effects
its possible to include movies (and even sound) inline using the package movie15; see http://www.uoregon.edu/noeckel/PDFmovie.html its possible to include effects known from powerpoint presentations like slides coming from the left or right, top or bottom
Introduction to Beamer
May 2008
29 / 35
Special Effects
Movies
This slide transition scheme obtained by the command (put inside of a frame environment)
\transdissolve
Introduction to Beamer
May 2008
30 / 35
Special Effects
Movies
Introduction to Beamer
May 2008
31 / 35
Special Effects
References
References
References can be added as usual using \cite{...} F. H. C LARKE, Optimization and Nonsmooth Analysis, John Wiley & Sons, New York, 1983.
A In L TEX: \begin{thebibliography}{10} \beamertemplatebookbibitems \bibitem{Cla83} {\sc F. H. Clarke}, {\em Optimization and Nonsmooth Analysis}, John Wiley & Sons, New York, 1983. \end{thebibliography}
Introduction to Beamer
May 2008
32 / 35
Special Effects
References
Appendix
Introduction to Beamer
May 2008
33 / 35
Special Effects
References
creating hyperlinks for jumping from slide to slide zoom features for complicated graphics sound adding notes ...
Introduction to Beamer
May 2008
34 / 35
Special Effects
References
Questions?