Questa è una vecchia versione del documento!


Presentations with LaTex

Introduction

La semplicità è l'ultima sofisticazione.
(Simplicity is the ultimate sophistication)
Leonardo Da Vinci

Basic information about creating slides with LaTex and beamer

Documentclass

\documentclass[options]{beamer}

Slides

\begin{frame}
   \frametitle{Slide title}
   ...
\end{frame}

or:

\frame{
   \frametitle{Slide title}
   ...
}

Preamble/outline of contents

It is possible to add a frame with the outline/index of the topics.

\begin{frame}
\frametitle{Outline}
\tableofcontents[part=1,pausesections]
\end{frame}

or, simply

\section[Outline]{}
\frame{\tableofcontents}

Body structure

Timed/highlithed lists

\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q+1$ is not divisible by any of them.
\item<1-> Thus $q+1$ is also prime and greater than $p$.\qedhere
\end{enumerate}

Pictures/Tables

It doesn't change anything from the other LaTeX classes. So, if you want to include some pictures, use the usual packages

\usepackage{graphicx}

or

\usepackage{tabular}

and the usual code:

\frame
{ \frametitle{Include a picture in your slideshow}	
\begin{figure}
\centering
\includegraphics[width=5cm]{mypic.png}
\caption{Caption of the picture I want to include.}
\label{fig:pictureinc}
\end{figure}
}

and also for tables:

\frame
{ \frametitle{Include a table in your slideshow}	
\begin{table}
\centering
\begin{tabular}{|c|c|c|} \hline \hline
Flowers & Fruits & Trees\\ \hline \hline
Rose & Apple &  Pine \\
Daisy & Orange &  Oak\\ \hline \hline
\end{tabular}
\caption{Table example.}
\label{tbl:tableexample}
\end{table}
}

See also this section.

Codes

Here, there's no difference from the usual LaTeX classes, too.

See also this section.

You have to use the hyperrefpackage in your main source preamble:

\usepackage{hyperref} 

then

\href{file.jpeg}{Link to a picture}

or

\href{file.pdf}{Link to a pdf file}

Insert web content dynamically (javascript)

Themes

Default themes

If no theme is specified (or \usetheme{default} is specified), your presentation will be appear simply empty. Otherwise, you can use some predefined themes, such as:

\usetheme{Marburg}
\usetheme{sidebar}
\usetheme{Bergen}
\usetheme{Hannover}
\usetheme{Darmstadt}
\usetheme{Singapore}
\usetheme{Montpellier}
\usetheme{Berlin}
\usetheme{Boadilla}
\usetheme{Madrid}
\usetheme{Pittsburgh}
\usetheme{Madrid}
\usetheme{Copenhagen}
\usetheme{Warsaw}
\usetheme{Rochester} %[ works best as \usetheme[height=7mm]{Rochester} ]
\usetheme{Singapore}
\usetheme{Malmoe}

Other themes

Customizing themes

Customization and definition for colors

Links/Tutorials