You are on page 1of 24

Outline

Preamble
Frames
Options
Examples
Resources

Statistical Computing
An Introduction to Beamer
Author: Your Name
(Adapted from slides by Ben French, Ph.D.)

11 November 2009

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Outline

1 Specifying the preamble


2 Including content on frames
3 Selecting advanced options
4 Examples With Math
5 Finding more information

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Outline

1 Specifying the preamble


2 Including content on frames
3 Selecting advanced options
4 Examples With Math
5 Finding more information

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Class

Beamer is a LATEX class to create slide presentations


Specify the document class and load necessary packages
\documentclass[ ]{beamer}
\usepackage{setspace, graphics}
Insert options into [ ]

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Theme

Specify a global theme for your presentation


\usetheme{ }
A theme specifies the frame layout and color scheme
Many preferences for small details
Choose a theme that is appropriate for the occasion

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Title Frame
Specify information for the title frame
\title[ ]{ }
\subtitle{ }
\author[ ]{ }
\institute{ }
\date{ }
Insert a short title and name into [ ]
Insert a full title and name into { }
Break a long title or name using \\

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Document

After completing the preamble begin the document


\begin{document}
\end{document}
In the middle include content on frames

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Viewing

Use pdflatex on your .tex file


May need to do this more than once
Automatically generates a .pdf file
Creates a number of secondary files
Problems may be encountered using other commands
Requires that figures be in .pdf format

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Outline

1 Specifying the preamble


2 Including content on frames
3 Selecting advanced options
4 Examples With Math
5 Finding more information

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Frames
Every frame has a basic component
\begin{frame}
\frametitle{ }
\end{frame}
A frame title is optional but usually necessary
Always choose a descriptive yet short frame title
In the middle include a list, equation, table, or figure
Always itemize or enumerate text in 2 levels
Use phrases instead of complete sentences
Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Title Frame

Begin your presentation with a title frame


\begin{frame}
\titlepage
\end{frame}
Do not include a frame title
The short name and title appear in the sidebar

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Outline

1 Specifying the preamble


2 Including content on frames
3 Selecting advanced options
4 Examples With Math
5 Finding more information

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Organization

For medium to long presentations create sections


\section[ ]{ }
For long presentations create subsections
\subsection[ ]{ }
Insert a short section or subsection name into [ ]
Insert a full section or subsection name into { }
Short names appear in the sidebar
May be used to navigate through your presentation

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Table of Contents

If including sections create a table of contents frame


\begin{frame}
\frametitle{ }
\tableofcontents
\end{frame}
Beamer populates the table of contents frame with the full
section and subsection names

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Pauses
In longer talks it may be beneficial to pause between sections
and return to the table of contents frame
Include these commands in the preamble
\AtBeginSection[ ] {
\begin{frame}<beamer>{ }
\tableofcontents[currentsection]
\end{frame} }
Insert the table of contents frame title into { }
May also pause between subsections

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Overlays

If including more material on a single frame. . .


. . . hide some material and uncover it
\pause
\item< ->
\uncover< ->{ }
Insert the order in which items are uncovered into < ->
Can easily be overused; never uncover lists piecewise
More options such as uncovering rows in a table

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Overlays

If including more material on a single frame. . .


. . . hide some material and uncover it
\pause
\item< ->
\uncover< ->{ }
Insert the order in which items are uncovered into < ->
Can easily be overused; never uncover lists piecewise
More options such as uncovering rows in a table

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Overlays

Hidden items may either be gray or white


\setbeamercovered{transparent}
\setbeamercovered{invisible}
Include one of these preferences in the preamble
Overlays render page numbers meaningless

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Outline

1 Specifying the preamble


2 Including content on frames
3 Selecting advanced options
4 Examples With Math
5 Finding more information

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Nelder-Mead Simplex Method


The vector of parameters in K dimensions, is to be
minimized. A K-dimensional simplex, K-simplex, is defined by
K+1 points in K-space (in 1D, a line segment is defined by 2
points).
Select a starting point for , 0 .
Compute the centroid (average of the points of the K-simplex
OR center of mass of the K-simplex).
K

(0) =

1 X
0i
K +1

i=0

Do a 1-D search over K + ((K) K ), where [0, 2],


to find the next K .
Repeat until convergence.
Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

A Model Problem: Widows Pension Fund


We will demonstrate several of the optimization methods
discussed on the widows pension fund problem that we used
earlier for root finding.
Recall that this problem was to determine the parameters of a
mixed model: the mixture parameter and the Poisson
intensity .
The log likelihood for this problem was
`(, )

=
+

n0 log + (1 )e + (N n0 ) [log(1 ) ]

i ni log

i=1

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Handouts

For printing handouts remove pauses and overlays


Include the handout option in the document class
\documentclass[handout]{beamer}

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Outline

1 Specifying the preamble


2 Including content on frames
3 Selecting advanced options
4 Examples With Math
5 Finding more information

Your Name

Beamer Introduction

Outline
Preamble
Frames
Options
Examples
Resources

Resources
Main Beamer page:
http://latex-beamer.sourceforge.net/
The user guide
http://www.tug.org/teTeX/tetex-texmfdist/
doc/latex/beamer/beameruserguide.pdf
A Quick Tutorial:
http://heather.cs.ucdavis.edu/~matloff/beamer.html
A preview of several themes
http://mike.depalatis.net/beamerthemes/
A Beamer Quickstart: http://www.math.umbc.edu/~rouben/beamer/
Math Fonts:
http://staff.science.uva.nl/~mbz/Handig/
MathFontsBeamer.pdf
Some general and Beamer stuff:
http://www.gwu.edu/~mathgss/Slides/KerryFanny_LaTeX.pdf
Your Name

Beamer Introduction

You might also like