11

I'm inserting a \tableofcontents slide in my beamer presentation. The trouble is that I have everything in itemize environment throughout my presentation. (Gives a better view to the audience.) The Table of Contents, however appears without the itemization/enumeration. Can the entries in tableofcontents be itemized? I can't find an option in beamer manual or online to this effect.

Here's my current table of contents:

\begin{frame}<beamer>
  \frametitle{Outline}
  \tableofcontents[section,subsection]
\end{frame}

p.s. I'm also using the \AtBeginSection overlays so those have to change as well.

17

Adapted from the beamer user guide, section 10.5:

enter image description here enter image description here

\documentclass{beamer}
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]
%\setbeamertemplate{section in toc}[ball unnumbered]
%\setbeamertemplate{subsection in toc}[ball unnumbered]
\AtBeginSection[]
{
\begin{frame}
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
\begin{document}
\begin{frame}
  \frametitle{Outline}
  \tableofcontents[section,subsection]
\end{frame}
\section{One}
\begin{frame}
Some content
\end{frame}
\subsection{Alpha}
\begin{frame}
Some content
\end{frame}
\section{Two}
\begin{frame}
Some content
\end{frame}
\subsection{Beta}
\begin{frame}
Some content
\end{frame}
\end{document}
  • Oops. Thanks. Guess I didn't know what to search for in the manual. – recluze Feb 19 '12 at 3:38
  • Also added another option as another answer. Accepted your answer though as it fully explains the actual question. – recluze Feb 19 '12 at 3:57
10

For future reference, I'm putting a detailed answer as well that gives more power. If you want something more complicated than the ball and square templates for this, you can redefine the template like so:

\setbeamertemplate{section in toc}{%
    *  \inserttocsection \par}

\setbeamertemplate{subsection in toc}{
    -- \inserttocsubsection \par}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.