presentation using latex beamerabout beamer beamer - a latex class for creating presentations....

44
Introduction Document Structure Frame Structure Overlays Presentation using L A T E X Beamer Tao Ma Electrical and Computer Engineering Auburn University June 30, 2010 1 / 22

Upload: others

Post on 03-Aug-2021

40 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Presentation using LATEX Beamer

Tao Ma

Electrical and Computer EngineeringAuburn University

June 30, 2010

1 / 22

Page 2: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Outline

1 Introduction

2 Document StructureExamplePreambleBody

3 Frame StructureColumnBlockLists

4 Overlays

2 / 22

Page 3: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Outline

1 Introduction

2 Document StructureExamplePreambleBody

3 Frame StructureColumnBlockLists

4 Overlays

3 / 22

Page 4: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

About Beamer

Beamer - a LaTeX class for creating presentations.Different from WYSWYG programs.A Beamer presentation is like any other LaTeX document:

It has a preamble and a body.The body contains sections and subsections.The different slides are put in environments.Slides are structured using itemize and enumerateenvironments, or plain text.

4 / 22

Page 5: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Outline

1 Introduction

2 Document StructureExamplePreambleBody

3 Frame StructureColumnBlockLists

4 Overlays

5 / 22

Page 6: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

A Simple Example\documentclass{beamer}\title{\LaTeX{} Beamer Class Introduction}\author{Tao Ma}\institute{Electrical and Computer Engineering \\AuburnUniversity}\date{\scriptsize{\today}}

\begin{document}\maketitle\section{Section 1}\begin{frame}\frametitle{Frame 1 Name}\Here is one slide.\end{frame}\section{Section 2}\frame{\frametitle{Frame 2 Name}\Here is another slide.}\end{document}

6 / 22

Page 7: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

A Simple Example\documentclass{beamer}\title{\LaTeX{} Beamer Class Introduction}\author{Tao Ma}\institute{Electrical and Computer Engineering \\AuburnUniversity}\date{\scriptsize{\today}}

\begin{document}\maketitle\section{Section 1}\begin{frame}\frametitle{Frame 1 Name}\Here is one slide.\end{frame}\section{Section 2}\frame{\frametitle{Frame 2 Name}\Here is another slide.}\end{document}

6 / 22

Page 8: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

A Simple Example\documentclass{beamer}\title{\LaTeX{} Beamer Class Introduction}\author{Tao Ma}\institute{Electrical and Computer Engineering \\AuburnUniversity}\date{\scriptsize{\today}}

\begin{document}\maketitle\section{Section 1}\begin{frame}\frametitle{Frame 1 Name}\Here is one slide.\end{frame}\section{Section 2}\frame{\frametitle{Frame 2 Name}\Here is another slide.}\end{document}

6 / 22

Page 9: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Preamble

\documentclass[10pt]{beamer}\usetheme{Warsaw}\setbeamertemplate{footline}[frame number]

\usefonttheme[]{serif}\usepackage{amsmath, latexsym, color, graphicx}\usepackage{epsf, epsfig,subfigure}\usepackage{amsfonts,multicol}

\newcommand{\tbs}{\textbackslash}\definecolor{cRed}{rgb}{1, 0, 0}

7 / 22

Page 10: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Preamble

\documentclass[10pt]{beamer}\usetheme{Warsaw}\setbeamertemplate{footline}[frame number]

\usefonttheme[]{serif}\usepackage{amsmath, latexsym, color, graphicx}\usepackage{epsf, epsfig,subfigure}\usepackage{amsfonts,multicol}

\newcommand{\tbs}{\textbackslash}\definecolor{cRed}{rgb}{1, 0, 0}

7 / 22

Page 11: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Preamble

\documentclass[10pt]{beamer}\usetheme{Warsaw}\setbeamertemplate{footline}[frame number]

\usefonttheme[]{serif}\usepackage{amsmath, latexsym, color, graphicx}\usepackage{epsf, epsfig,subfigure}\usepackage{amsfonts,multicol}

\newcommand{\tbs}{\textbackslash}\definecolor{cRed}{rgb}{1, 0, 0}

7 / 22

Page 12: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Preamble

\documentclass[10pt]{beamer}\usetheme{Warsaw}\setbeamertemplate{footline}[frame number]

\usefonttheme[]{serif}\usepackage{amsmath, latexsym, color, graphicx}\usepackage{epsf, epsfig,subfigure}\usepackage{amsfonts,multicol}

\newcommand{\tbs}{\textbackslash}\definecolor{cRed}{rgb}{1, 0, 0}

7 / 22

Page 13: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

PreambleChoosing a Theme

Different themes can be selected by changing the

\usetheme{Warsaw}

Themes

Antibes Bergen Berlin MadridPaloalto Pittsburgh Rochester Singapore

8 / 22

Page 14: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Body

\begin{document}

\maketitle

\section{Section 1}\begin{frame}\frametitle{Frame 1 Name}\Here is one slide.\end{frame}

\section{Section 2}\frame{\frametitle{Frame 2 Name}\Here is another slide.}

\end{document}

9 / 22

Page 15: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Making the Title Frame

Use the following commands in your preamble:

Commands for the title frame\title{...}\subtitle{...}\author{...}\institute{...}\date{...}

and the command \maketitle,

Generating the title frame in the body\begin{document}\maketitle...\end{document}

10 / 22

Page 16: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Creating a Frame

Creating a frame use with commands:

\begin{frame}\frametitle{...}\framesubtitle{...}...\end{frame}

Or,

\frame{\frametitle{...}\framesubtitle{...}...}

11 / 22

Page 17: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Section and Subsections

Section specifications are declared between the frames.

...\end{frame}

\section{section name}\subsection{subsection name}\subsubsection{subsubsection name}

\begin{frame}...

12 / 22

Page 18: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ExamplePreambleBody

Generating the Outline Frame

The outline of your presentation can be added as follows,

manually...\end{frame}\begin{frame}\frametitle{Outline}\tableofcontents[currentsection]\end{frame}

\begin{frame}...

automatically...\AtBeginSection[]{\begin{frame}{Outline}\tableofcontents[currentsection]\end{frame}}...

13 / 22

Page 19: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

Outline

1 Introduction

2 Document StructureExamplePreambleBody

3 Frame StructureColumnBlockLists

4 Overlays

14 / 22

Page 20: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

Column

Example: two columns\begin{columns}\column{.4\textwidth}Left column\column{.4\textwidth}Right column\end{columns}

Left column Right column

15 / 22

Page 21: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

Column

Example: two columns\begin{columns}\column{.4\textwidth}Left column\column{.4\textwidth}Right column\end{columns}

Left column Right column

15 / 22

Page 22: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

Block

\begin{block}{Beamer Introduction}Beamer is a {\LaTeX} class.\end{block}

Beamer IntroductionBeamer is a LATEX class.

Other choices: example, lemma, proof.

16 / 22

Page 23: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

Block

\begin{block}{Beamer Introduction}Beamer is a {\LaTeX} class.\end{block}

Beamer IntroductionBeamer is a LATEX class.

Other choices: example, lemma, proof.

16 / 22

Page 24: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

Block

\begin{block}{Beamer Introduction}Beamer is a {\LaTeX} class.\end{block}

Beamer IntroductionBeamer is a LATEX class.

Other choices: example, lemma, proof.

16 / 22

Page 25: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

List-itemize

\begin{itemize}\item The first one.\item The second one.\begin{itemize}\item The larger one.\item The smaller one.\end{itemize}\item The third one.\end{itemize}

The first one.The second one.

The larger one.The smaller one.

The third one.

17 / 22

Page 26: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

List-itemize

\begin{itemize}\item The first one.\item The second one.\begin{itemize}\item The larger one.\item The smaller one.\end{itemize}\item The third one.\end{itemize}

The first one.The second one.

The larger one.The smaller one.

The third one.

17 / 22

Page 27: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

List-enumerate

\begin{enumerate}\item The first one.\item The second one.\begin{enumerate}\item The large one.\item The small one.\end{enumerate}\item The third one.\end{enumerate}

1 The first one.2 The second one.

1 The large one.2 The small one.

3 The third one.

18 / 22

Page 28: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

ColumnBlockLists

List-enumerate

\begin{enumerate}\item The first one.\item The second one.\begin{enumerate}\item The large one.\item The small one.\end{enumerate}\item The third one.\end{enumerate}

1 The first one.2 The second one.

1 The large one.2 The small one.

3 The third one.

18 / 22

Page 29: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Outline

1 Introduction

2 Document StructureExamplePreambleBody

3 Frame StructureColumnBlockLists

4 Overlays

19 / 22

Page 30: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Simple Overlays Using pause

Beamer overlay frame 1Beamer overlay frame 2Beamer overlay frame 3

\begin{frame}[fragile]\frametitle{Simple Overlays Using {\tt pause}}\setbeamercovered{dynamic}\begin{itemize}\item Beamer overlay frame 1\\ \pause\item Beamer overlay frame 2\\ \pause\item Beamer overlay frame 3\\\end{itemize}

20 / 22

Page 31: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Simple Overlays Using pause

Beamer overlay frame 1Beamer overlay frame 2Beamer overlay frame 3

\begin{frame}[fragile]\frametitle{Simple Overlays Using {\tt pause}}\setbeamercovered{dynamic}\begin{itemize}\item Beamer overlay frame 1\\ \pause\item Beamer overlay frame 2\\ \pause\item Beamer overlay frame 3\\\end{itemize}

20 / 22

Page 32: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Simple Overlays Using pause

Beamer overlay frame 1Beamer overlay frame 2Beamer overlay frame 3

\begin{frame}[fragile]\frametitle{Simple Overlays Using {\tt pause}}\setbeamercovered{dynamic}\begin{itemize}\item Beamer overlay frame 1\\ \pause\item Beamer overlay frame 2\\ \pause\item Beamer overlay frame 3\\\end{itemize}

20 / 22

Page 33: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Simple Overlays Using pause

Beamer overlay frame 1Beamer overlay frame 2Beamer overlay frame 3

\begin{frame}[fragile]\frametitle{Simple Overlays Using {\tt pause}}\setbeamercovered{dynamic}\begin{itemize}\item Beamer overlay frame 1\\ \pause\item Beamer overlay frame 2\\ \pause\item Beamer overlay frame 3\\\end{itemize}

20 / 22

Page 34: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7 15 2 49 6 3

21 / 22

Page 35: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7

1

5 2 49 6 3

21 / 22

Page 36: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7

1

5

2

49 6 3

21 / 22

Page 37: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7

1

5

2

49 6

3

21 / 22

Page 38: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7

1

5

2 4

9 6

3

21 / 22

Page 39: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7

15 2 4

9 6

3

21 / 22

Page 40: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7

15 2 4

9

6 3

21 / 22

Page 41: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8

7 15 2 4

9

6 3

21 / 22

Page 42: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7 15 2 4

9

6 3

21 / 22

Page 43: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Advanced Overlays Using onslide

8 7 15 2 49 6 3

21 / 22

Page 44: Presentation using LaTeX BeamerAbout Beamer Beamer - a LaTeX class for creating presentations. Different from WYSWYG programs. A Beamer presentation is like any other LaTeX document:

IntroductionDocument Structure

Frame StructureOverlays

Questions?

22 / 22