Presentations with LATEX and a computer. Issues pertaining to every talk, страница 4

To use beamer, you need to have three packages installed in your

TEX path: beamer, xcolor and pgm.

You can find all three at http://latex-beamer.sourceforge.net/

You install the packages by unpacking them either in the global or your private TEX tree. (A private tree needs an addition to the

TEXMF environment variable.)

Usually you need to call texhash after unpacking to update a lookup table.

In MiKTEX use the update wizard to install the packages called latex-beamer, pgf, and xcolor.

To use beamer, you need to have three packages installed in your

TEX path: beamer, xcolor and pgm.

You can find all three at http://latex-beamer.sourceforge.net/

You install the packages by unpacking them either in the global or your private TEX tree. (A private tree needs an addition to the

TEXMF environment variable.)

Usually you need to call texhash after unpacking to update a lookup table.

In MiKTEX use the update wizard to install the packages called latex-beamer, pgf, and xcolor.

Minimal Template

\documentclass[]{beamer}

\mode<presentation>

{ \usetheme{Rochester}

\setbeamercovered{transparent}  }

\usepackage[english]{babel}

\title{My Presentation}

\author{Myself}

\institute{Here}

\date{January 2006}

\begin{document}

\begin{frame}

  \titlepage

\end{frame}

\begin{frame}

BlaBla

\end{frame}

\end{document}

A more elaborate template is on the web pages. To translate, simply run latex (or pdflatex).        


11 / 18


Minimal Template

\documentclass[]{beamer}

\mode<presentation>

{ \usetheme{Rochester}

\setbeamercovered{transparent}  }

\usepackage[english]{babel}

\title{My Presentation}

\author{Myself}

\institute{Here}

\date{January 2006}

\begin{document}

\begin{frame}

  \titlepage

\end{frame}

\begin{frame}

BlaBla

\end{frame}

\end{document}

A more elaborate template is on the web pages. To translate, simply run latex (or pdflatex).     


11 / 18

Each page has the following form:

\begin{frame} \frametitle{Title line}

Then content follows that will be typeset normally

\end{frame}

Theorem

The theorem environment (enclosed by \begin{theorem} and \end{theorem}) gets a special display

Proof.

As does the proof environment.                                                           

Each page has the following form:

\begin{frame} \frametitle{Title line}

Then content follows that will be typeset normally

\end{frame}

Theorem

The theorem environment (enclosed by \begin{theorem} and \end{theorem}) gets a special display

Proof.

As does the proof environment.                                                           

Each page has the following form:

\begin{frame} \frametitle{Title line}

Then content follows that will be typeset normally

\end{frame}

Theorem

The theorem environment (enclosed by \begin{theorem} and \end{theorem}) gets a special display

Proof.

As does the proof environment.                                                           


Examples

There are several style files that can be used to modify the display. The global style (set by \usetheme in the preamble and named after a city) sets the overall format.

Some of these styles are very heavy on navigational components. I would recommend the default, boadilla or rochester style.

These slides use a modified rochester style.

There also are color themes (that can be set with \usecolortheme). See the beamer manual for details.

13 / 18

There Is No Largest Prime Number

default style

Theorem

There is no largest prime number.

Proof.

1. Suppose p were the largest prime number. 2. Let q be the product of the first p numbers.

3.  Then q + 1 is not divisible by any of them.

4.  Thus q + 1 is also prime and greater than p.   

The proof used reductio ad absurdum.


The proof used reductio ad absurdum.


The proof used reductio ad absurdum.


The proof used reductio ad absurdum.


The proof used reductio ad absurdum.