I encountered the follwing problem when including the agenda slide in a Latex Beamer presentation AND aiming for also having separation slides automatically generated by beamer in front of each new section.
In order to generate these separation slides I used the \AtBeginSection macro and used a code provided in a German book ("Präsentation mit LaTeX" by Herbert Voss, p. 102/103).
The code is below and works perfectly fine.
Now the problem: I want to print out the presentation but do not want to have dozens of unnecessary separation slides. Therefore, in "documentclass" in the beginning I added the option "handout": \documentclass[handout]{beamer}
However, when doing this the \AtBeginsection macro does not work properly any more and the agenda slide does not get generated correctly any more.
I have now idea why this is. Any suggestions???
Thanks,
Marcus
Code: Select all
\documentclass[]{beamer}
\usetheme{Hannover}
\begin{document}
\title[Deutsche Silbentrennmuster]{Deutsche Silbentrennmuster\\[3pt] --\\[3pt]
{\small aus linguistischer und \TeX nischer Sicht}}
\author[R\"omer \& Vo\ss]{Christine R\"omer \& Herbert Vo\ss}
\date{Jena, 6.\,3.\,2008}
\setbeamertemplate{background canvas}
\begin{frame}[plain]\titlepage\end{frame}
\setbeamertemplate{background canvas}{bg=white}
\AtBeginSection
{\begin{frame}{Gliederung}
\tableofcontents[currentsection]
\end{frame}
}
\beamerdefaultoverlayspecification{<+->}
\begin{frame}{Gliederung}
\tableofcontents
\end{frame}
\section{Einfuehrung}
\begin{frame}{Ein Beispiel fuer eine Strukturierung}{\texttt{section}}
\begin{beamercolorbox}{blue!30}
\begin{itemize}
\item Die Angabe \texttt{\textbackslash section} vor dieser Folie hat keine Auswirkung sondern erzeugt nur vorher eine leere Folie mit dem gleichen
Titel und erscheint zusaetzlich in der Navigation.
\item Bullet 2
\end{itemize}
\end{beamercolorbox}
\end{frame}
\subsection[\texttt{subsection}]{Beispiel zum Makro \texttt{subsection}}
\begin{frame}{Ein Beispiel fuer eine Strukturierung}{\texttt{subsection}}
\begin{beamercolorbox}{blue!30}
Die Angabe \texttt{\textbackslash section} vor dieser Folie hat keine Auswirkung sondern erzeugt nur vorher eine leere Folie mit dem gleichen Titel und erscheint zusaetzlich in der Navigation.
\end{beamercolorbox}
\end{frame}
\subsection{foo}\section{bar}
\subsection{baz}
\subsection{foobaz}
\end{document}