The Beamer class for LaTeX - A tutorial - Mathematisches Institut

68
The Beamer class for L A T E X A tutorial Meik Hellmund Uni Leipzig, Mathematisches Institut M. Hellmund (Leipzig) The Beamer class 1 / 30

Transcript of The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Page 1: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

The Beamer class for LATEXA tutorial

Meik Hellmund

Uni Leipzig, Mathematisches Institut

M. Hellmund (Leipzig) The Beamer class 1 / 30

Page 2: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

A minimalistic Example

\documentclass{beamer}

\begin{document}

\begin{frame}This is my first slide.

\end{frame}

\begin{frame}This is my second (and last) slide.

\end{frame}

\end{document}

M. Hellmund (Leipzig) The Beamer class 2 / 30

Page 3: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

The Beamer class

I slides of size 128×96 mm

I support for overlays

I appearance defined by different themes

I standard LATEX commands work

I creation of presentation, handouts and articles from the same source

M. Hellmund (Leipzig) The Beamer class 3 / 30

Page 4: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

The Beamer class

I slides of size 128×96 mm

I support for overlays

I appearance defined by different themes

I standard LATEX commands work

I creation of presentation, handouts and articles from the same source

M. Hellmund (Leipzig) The Beamer class 3 / 30

Page 5: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

The Beamer class

I slides of size 128×96 mm

I support for overlays

I appearance defined by different themes

I standard LATEX commands work

I creation of presentation, handouts and articles from the same source

M. Hellmund (Leipzig) The Beamer class 3 / 30

Page 6: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

The Beamer class

I slides of size 128×96 mm

I support for overlays

I appearance defined by different themes

I standard LATEX commands work

I creation of presentation, handouts and articles from the same source

M. Hellmund (Leipzig) The Beamer class 3 / 30

Page 7: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

The Beamer class

I slides of size 128×96 mm

I support for overlays

I appearance defined by different themes

I standard LATEX commands work

I creation of presentation, handouts and articles from the same source

M. Hellmund (Leipzig) The Beamer class 3 / 30

Page 8: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\documentclass[...]{beamer}

Options:

I 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt

I draft – no graphics, footlines,...

I handout – no overlays

\usepackage{pgfpages}

\mode<handout>{\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]}

I xcolor=x11names – define more names for colors

Print as article:

\documentclass[]{article}\usepackage{beamerarticle}

The beamer class automatically loads some other LATEX packages, includingxcolor, amsmath, amsthm, calc, geometry, hyperref, extsizes.

M. Hellmund (Leipzig) The Beamer class 4 / 30

Page 9: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\documentclass[...]{beamer}

Options:

I 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt

I draft – no graphics, footlines,...

I handout – no overlays

\usepackage{pgfpages}

\mode<handout>{\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]}

I xcolor=x11names – define more names for colors

Print as article:

\documentclass[]{article}\usepackage{beamerarticle}

The beamer class automatically loads some other LATEX packages, includingxcolor, amsmath, amsthm, calc, geometry, hyperref, extsizes.

M. Hellmund (Leipzig) The Beamer class 4 / 30

Page 10: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\documentclass[...]{beamer}

Options:

I 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt

I draft – no graphics, footlines,...

I handout – no overlays

\usepackage{pgfpages}

\mode<handout>{\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]}

I xcolor=x11names – define more names for colors

Print as article:

\documentclass[]{article}\usepackage{beamerarticle}

The beamer class automatically loads some other LATEX packages, includingxcolor, amsmath, amsthm, calc, geometry, hyperref, extsizes.

M. Hellmund (Leipzig) The Beamer class 4 / 30

Page 11: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\documentclass[...]{beamer}

Options:

I 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt

I draft – no graphics, footlines,...

I handout – no overlays

\usepackage{pgfpages}

\mode<handout>{\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]}

I xcolor=x11names – define more names for colors

Print as article:

\documentclass[]{article}\usepackage{beamerarticle}

The beamer class automatically loads some other LATEX packages, includingxcolor, amsmath, amsthm, calc, geometry, hyperref, extsizes.

M. Hellmund (Leipzig) The Beamer class 4 / 30

Page 12: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Titlepage

\title[Short version]{A very long Title \\ over several lines}\subtitle[short version]{A subtitle}\date[2009]{STA Workshop 2009}\author[M. Maier]{Max Maier}\institute[Uni Leipzig]{Universitat Leipzig}\logo{\includegraphics[scale=.25]{unilogo.pdf}}\begin{document}

\frame{\maketitle} % <-- generate frame with title

I short versions of title, author,... are used in head- or footlines

I several authors:

\author[Meier et al.]{Max Meier\inst{1} \and Moritz Mayer\inst{2}}

\institute[Leipzig and Berlin]{

\inst{1}Department of Theoretical Applications\\ Uni Ulm \and

\inst{2}Fakultat fur angewandte Theorie\\

Leipzig University}

M. Hellmund (Leipzig) The Beamer class 5 / 30

Page 13: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

A very long Titleover several lines

A subtitle

Max Meier1 Moritz Mayer2

1Department of Theoretical ApplicationsUni Ulm

2Fakultat fur angewandte TheorieLeipzig University

STA Workshop 2009

Meier et al. (Leipzig and Berlin) Short version 2009 6 / 30

Page 14: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Title of this FrameSubtitle of this frame

A frame defines one “page” of the presentation

\begin{frame}[...]{Title}{Subtitle} ... \end{frame}

Options:plain – no headlines, footlines, sidebarssqueeze – squeeze all vertical spaces (this frame)shrink=0..100 – shrink everything by n percentb, c or t – vertically align at bottom, center or top (this frame: b)fragile – if using macros (like verbatim) which change catcodes

(this frame)label=... – give frame a name for later reuse with \againframe

Subtitle and title are not mandatory

M. Hellmund (Leipzig) The Beamer class 7 / 30

Page 15: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Environments

I usual LATEX environments: itemize, enumerate, description, ...

I usual AMS-LATEX environments: theorem, corollary, definition,...

I additional block environments: block, alertblock, exampleblock,beamercolorbox, beamerboxesrounded

I multicolumns: columns, column

M. Hellmund (Leipzig) The Beamer class 8 / 30

Page 16: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

A block\begin{block}{A block}...\end{block}

alertblock\begin{alertblock}{An alert block}...\end{alertblock}

example block

\begin{exampleblock}{An example block}...\end{exampleblock}

Appearance of different block types is defined by style templates.Title is mandatory. Use \begin{block}{} for empty title.

M. Hellmund (Leipzig) The Beamer class 9 / 30

Page 17: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

beamercolorbox and beamerboxesrounded

Define beamercolors ( = pair of colors)

\setbeamercolor{eecks} {bg=Burlywood3, fg=RoyalBlue3}\setbeamercolor{eecks2}{bg=Burlywood1, fg=RoyalBlue4}

\begin{beamercolorbox}[shadow=true, rounded=true]{eecks}....\end{beamercolorbox}

\begin{beamercolorbox}[wd=7cm]{eecks}....\end{beamercolorbox}

A Title

\begin{beamerboxesrounded}[lower=eeks2,upper=eecks,shadow=true]{A Title}

...\end{beamerboxesrounded}

M. Hellmund (Leipzig) The Beamer class 10 / 30

Page 18: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Multiple columns

\begin{columns}\begin{column}[t]{5cm}....\end{column}

\begin{column}[t]{5cm}.....\end{column}

\end{columns}

I two columns of 5 cm width

I in the columns: text,

blocks and other environments

M. Hellmund (Leipzig) The Beamer class 11 / 30

Page 19: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

\begin{itemize}\item<1-> a first item\item<2-> a second item\item<3-> a third item\item<4-> \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 12 / 30

Page 20: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

\begin{itemize}\item<1-> a first item\item<2-> a second item\item<3-> a third item\item<4-> \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 12 / 30

Page 21: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

\begin{itemize}\item<1-> a first item\item<2-> a second item\item<3-> a third item\item<4-> \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 12 / 30

Page 22: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

\begin{itemize}\item<1-> a first item\item<2-> a second item\item<3-> a third item\item<4-> \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 12 / 30

Page 23: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

A shorter form:

\begin{itemize}[<+->]\item a first item\item a second item\item a third item\item \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 13 / 30

Page 24: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

A shorter form:

\begin{itemize}[<+->]\item a first item\item a second item\item a third item\item \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 13 / 30

Page 25: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

A shorter form:

\begin{itemize}[<+->]\item a first item\item a second item\item a third item\item \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 13 / 30

Page 26: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlays

A shorter form:

\begin{itemize}[<+->]\item a first item\item a second item\item a third item\item \dots\end{itemize}

I a first item

I a second item

I a third item

I . . .

M. Hellmund (Leipzig) The Beamer class 13 / 30

Page 27: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlay specifications

\begin{itemize}\item<1-> from first layer on\item<2-> from second layer on\item<4> only in the 4. layer\item<3,5-> in the 3., 5. and all further layers\end{itemize}

I from first layer on

I from second layer on

I only in the 4. layer

I in the 3., 5. and all further layers

M. Hellmund (Leipzig) The Beamer class 14 / 30

Page 28: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlay specifications

\begin{itemize}\item<1-> from first layer on\item<2-> from second layer on\item<4> only in the 4. layer\item<3,5-> in the 3., 5. and all further layers\end{itemize}

I from first layer on

I from second layer on

I only in the 4. layer

I in the 3., 5. and all further layers

M. Hellmund (Leipzig) The Beamer class 14 / 30

Page 29: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlay specifications

\begin{itemize}\item<1-> from first layer on\item<2-> from second layer on\item<4> only in the 4. layer\item<3,5-> in the 3., 5. and all further layers\end{itemize}

I from first layer on

I from second layer on

I only in the 4. layer

I in the 3., 5. and all further layers

M. Hellmund (Leipzig) The Beamer class 14 / 30

Page 30: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlay specifications

\begin{itemize}\item<1-> from first layer on\item<2-> from second layer on\item<4> only in the 4. layer\item<3,5-> in the 3., 5. and all further layers\end{itemize}

I from first layer on

I from second layer on

I only in the 4. layer

I in the 3., 5. and all further layers

M. Hellmund (Leipzig) The Beamer class 14 / 30

Page 31: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Overlay specifications

\begin{itemize}\item<1-> from first layer on\item<2-> from second layer on\item<4> only in the 4. layer\item<3,5-> in the 3., 5. and all further layers\end{itemize}

I from first layer on

I from second layer on

I only in the 4. layer

I in the 3., 5. and all further layers

M. Hellmund (Leipzig) The Beamer class 14 / 30

Page 32: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 33: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 34: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 35: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 36: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 37: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 38: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

All mentioned environments (itemize,...,theorem,...,beamer blocks)allow an overlay specification:

\begin{block}<2->[options]{Title}% this block is only visible from the second layer onwards

...\end{block}

Many commands allow an overlay specification

\textbf<2->{commands}% text is bold only from second layer onwards

\includegraphics<3-5>[scale=0.2]{unilogo}% graphics only visible on layers 3,4,5

The \pause command

The command \pause allows to construct simple overlays.

The \pause command

\pause\pause\pause The command \pause\verb+\pause+ allows \pauseto construct simple overlays. \pause

M. Hellmund (Leipzig) The Beamer class 15 / 30

Page 39: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

text for first slide

\only<1> {text for first slide}\only<2> {this is on the 2. slide}

text for first slide this is on the 2. and 6. slide

\uncover<1> {text for first slide}\uncover<2,6> {this is on the 2. and 6. slide}

Not on slide 3. ←Shown on 1 and 2 ←

\alt<3>{On slide 3}{Not on slide 3.} $\leftarrow$\\\temporal<3-4>{Shown on 1 and 2}{Shown on 3, 4}

{Shown on 5, ...} $\leftarrow$

M. Hellmund (Leipzig) The Beamer class 16 / 30

Page 40: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

this is on the 2. slide

\only<1> {text for first slide}\only<2> {this is on the 2. slide}

text for first slide this is on the 2. and 6. slide

\uncover<1> {text for first slide}\uncover<2,6> {this is on the 2. and 6. slide}

Not on slide 3. ←Shown on 1 and 2 ←

\alt<3>{On slide 3}{Not on slide 3.} $\leftarrow$\\\temporal<3-4>{Shown on 1 and 2}{Shown on 3, 4}

{Shown on 5, ...} $\leftarrow$

M. Hellmund (Leipzig) The Beamer class 16 / 30

Page 41: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\only<1> {text for first slide}\only<2> {this is on the 2. slide}

text for first slide this is on the 2. and 6. slide

\uncover<1> {text for first slide}\uncover<2,6> {this is on the 2. and 6. slide}

On slide 3 ←Shown on 3, 4 ←

\alt<3>{On slide 3}{Not on slide 3.} $\leftarrow$\\\temporal<3-4>{Shown on 1 and 2}{Shown on 3, 4}

{Shown on 5, ...} $\leftarrow$

M. Hellmund (Leipzig) The Beamer class 16 / 30

Page 42: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\only<1> {text for first slide}\only<2> {this is on the 2. slide}

text for first slide this is on the 2. and 6. slide

\uncover<1> {text for first slide}\uncover<2,6> {this is on the 2. and 6. slide}

Not on slide 3. ←Shown on 3, 4 ←

\alt<3>{On slide 3}{Not on slide 3.} $\leftarrow$\\\temporal<3-4>{Shown on 1 and 2}{Shown on 3, 4}

{Shown on 5, ...} $\leftarrow$

M. Hellmund (Leipzig) The Beamer class 16 / 30

Page 43: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\only<1> {text for first slide}\only<2> {this is on the 2. slide}

text for first slide this is on the 2. and 6. slide

\uncover<1> {text for first slide}\uncover<2,6> {this is on the 2. and 6. slide}

Not on slide 3. ←Shown on 5, ... ←

\alt<3>{On slide 3}{Not on slide 3.} $\leftarrow$\\\temporal<3-4>{Shown on 1 and 2}{Shown on 3, 4}

{Shown on 5, ...} $\leftarrow$

M. Hellmund (Leipzig) The Beamer class 16 / 30

Page 44: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

\only<1> {text for first slide}\only<2> {this is on the 2. slide}

text for first slide this is on the 2. and 6. slide

\uncover<1> {text for first slide}\uncover<2,6> {this is on the 2. and 6. slide}

Not on slide 3. ←Shown on 5, ... ←

\alt<3>{On slide 3}{Not on slide 3.} $\leftarrow$\\\temporal<3-4>{Shown on 1 and 2}{Shown on 3, 4}

{Shown on 5, ...} $\leftarrow$

M. Hellmund (Leipzig) The Beamer class 16 / 30

Page 45: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Problem: “wobbling” slides with \only, \alt,...

Some text for the first slide.Possibly several lines long.

\begin{block}{}\begin{overlayarea}{\textwidth}{3em}\only<1>{Some text for the first slide.\\

Possibly several lines long.}\only<2>{Replacement on the second slide.}

\end{overlayarea}\end{block}

M. Hellmund (Leipzig) The Beamer class 17 / 30

Page 46: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Problem: “wobbling” slides with \only, \alt,...

Replacement on the second slide.

\begin{block}{}\begin{overlayarea}{\textwidth}{3em}\only<1>{Some text for the first slide.\\

Possibly several lines long.}\only<2>{Replacement on the second slide.}

\end{overlayarea}\end{block}

M. Hellmund (Leipzig) The Beamer class 17 / 30

Page 47: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 48: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 49: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 50: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 51: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 52: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 53: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 54: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

How to show covered parts

I I used: \setbeamercovered{transparent}

I default: \setbeamercovered{invisible}I other possibilities: \setbeamercovered{dynamic}

I first itemI second itemI third itemI fourth item

I or: \setbeamercovered{transparent=50} (default is 15% opaqueness)I first itemI second itemI third itemI fourth item

M. Hellmund (Leipzig) The Beamer class 18 / 30

Page 55: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Transitions between slides

\transdissolve<1-3>

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

M. Hellmund (Leipzig) The Beamer class 19 / 30

Page 56: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Transitions between slides

\transdissolve<1-3>

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

M. Hellmund (Leipzig) The Beamer class 19 / 30

Page 57: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Transitions between slides

\transdissolve<1-3>

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

I Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesentimperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectusvelit ultrices augue, a dignissim nibh lectus placerat pede.

M. Hellmund (Leipzig) The Beamer class 19 / 30

Page 58: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Transitions between slides

\transblindsvertical

The transition effects only work in the fullscreen presentation mode of AcrobatReader! You won’t see them with the usual preview programs.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante. Donec ullamcorper, felis non sodales commodo, lectus velit ultrices augue, adignissim nibh lectus placerat pede. Vivamus nunc nunc, molestie ut, ultricies vel,semper in, velit. Ut porttitor. Praesent in sapien. Lorem ipsum dolor sit amet,consectetuer adipiscing elit. Duis fringilla tristique neque. Sed interdum libero utmetus. Pellentesque placerat. Nam rutrum augue a leo. Morbi sed elit sit ametante lobortis sollicitudin. Praesent blandit blandit mauris. Praesent lectus tellus,aliquet aliquam, luctus a, egestas a, turpis. Mauris lacinia lorem sit amet ipsum.Nunc quis urna dictum turpis accumsan semper.

M. Hellmund (Leipzig) The Beamer class 20 / 30

Page 59: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Transitions between slides

\transglitter

The transition effects only work in the fullscreen presentation mode of AcrobatReader! You won’t see them with the usual preview programs.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante. Donec ullamcorper, felis non sodales commodo, lectus velit ultrices augue, adignissim nibh lectus placerat pede. Vivamus nunc nunc, molestie ut, ultricies vel,semper in, velit. Ut porttitor. Praesent in sapien. Lorem ipsum dolor sit amet,consectetuer adipiscing elit. Duis fringilla tristique neque. Sed interdum libero utmetus. Pellentesque placerat. Nam rutrum augue a leo. Morbi sed elit sit ametante lobortis sollicitudin. Praesent blandit blandit mauris. Praesent lectus tellus,aliquet aliquam, luctus a, egestas a, turpis. Mauris lacinia lorem sit amet ipsum.Nunc quis urna dictum turpis accumsan semper.

M. Hellmund (Leipzig) The Beamer class 21 / 30

Page 60: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Multimedia

\usepackage{multimedia}...

\movie[width=3cm, height=2cm, loop, showcontrols,start=5s, poster]{}{film.avi}

At the moment, only this seems to work with Linux:

\movie[externalviewer]{\beamergotobutton{Start movie}}{cc.mp4}

Start movie

M. Hellmund (Leipzig) The Beamer class 22 / 30

Page 61: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Structuring the presentation

I use the usual \section[]{} and \subsection[]{}commands between frames

I they do not generate text on the slides

I they appear in the \tableofcontents

I in many themes, they appear in the sidebar or headline

M. Hellmund (Leipzig) The Beamer class 23 / 30

Page 62: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Appendix

\section{...}\begin{frame} ... \end{frame}\appendix\begin{frame} ... \end{frame}\begin{frame} ... \end{frame}

I everything after \appendix does not appear in the table of contents

I but it still affects the page countersolution:

I set pagecounter manually after \begin{document}:\renewcommand{\inserttotalframenumber}{25}

I google for appendixnumberbeamer.sty

M. Hellmund (Leipzig) The Beamer class 24 / 30

Page 63: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Hyperlinks

TargetsI put \hypertarget{bla1}{} into some frame

I or \hypertarget<2>{blum3}{} in order to target the second layer of theframe

Add hyperlinks in order to jump to the targets:go to bla1 and another one: go to blum3

\hyperlink{bla1}{\beamergotobutton{go to bla1}} and another one:\hyperlink{blum3}{\beamergotobutton{go to blum3}}

Button typesgo to hell \beamergotobutton{go to hell}go to x \beamerskipbutton{go to x}

go to y \beamerreturnbutton{go to y}

M. Hellmund (Leipzig) The Beamer class 25 / 30

Page 64: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Presentation themes

Presentation themesPresentation themes completely define the appearance of the presentation.Examples:

I \usetheme{default} – very simple

I \usetheme{Madrid} – blueish, no navigation bars

I \usetheme{CambridgeUS} – red, no navigation bars

I \usetheme{Antibes} – blueish, tree-like navigation bar

I \usetheme{Berkeley} – blueish, table of contents in sidebar

I \usetheme{Marburg} – sidebar on the right

I \usetheme{Berlin} – navigation bar in the headline

I \usetheme{Szeged} – navigation bar in the headline, horizontal lines

I \usetheme{Malmoe} – section/subsection in the headline

M. Hellmund (Leipzig) The Beamer class 26 / 30

Page 65: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Themes

inner theme specifies appearance of blocks, enumerations and otherenvironments inside the frame

outer theme specifies head- and footlines, sidebar, logo, frame title

color theme specifies colors, can be complete, inner or outer

font theme specifies fonts

This defines the Madrid presentation theme:

\usecolortheme{whale} % outer color\usecolortheme{orchid} % inner\useinnertheme[shadow]{rounded}\useoutertheme{infolines}\usefonttheme{default}

M. Hellmund (Leipzig) The Beamer class 27 / 30

Page 66: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Color themescomplete:

I albatross, beetle, crane, fly, seagull, wolferine, beaver

inner:

I lily, orchid, rose

outer:

I shale, seahorse, dolphin

Font themesdefault, serif, structurebold, structureitalicserif, structuresmallcapsserif

M. Hellmund (Leipzig) The Beamer class 28 / 30

Page 67: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

Inner themesI default, circles, rectangles, rounded, inmargin

Outer themesI default, infolines, miniframes, smoothbars, sidebar, split, shadow, tree,

smoothtree

M. Hellmund (Leipzig) The Beamer class 29 / 30

Page 68: The Beamer class for LaTeX - A tutorial - Mathematisches Institut

This presentation

\documentclass[10pt, xcolor=x11names]{beamer}

\usecolortheme{seagull}\useoutertheme{infolines}\usefonttheme[onlymath]{serif}

\setbeamertemplate{headline}[default]\setbeamertemplate{navigation symbols}{}\mode<beamer>{\setbeamertemplate{blocks}[rounded][shadow=true]}

\setbeamercovered{transparent}\setbeamercolor{block body example}{fg=blue, bg=black!20}

M. Hellmund (Leipzig) The Beamer class 30 / 30