I want a beamer TOC slide like this:

SECTION 1
..Subsection 1
......Slide Title 1
..Subsection 2
......Slide Title 2
......Slide Title 2
NEXT SECTION
......Another Slide Title

In documents I use \paragraph to get the next level in on the TOC, but it does not seem to be supported in beamer. =(

It'd be best if the slidetitles get included in the TOC automatically (kind of like this: Beamer: how to make each frame appear in the PDF toc? ) But I'd be OK with changing the \slidetitle command to also put in a \paragraph command.

Here is some (possibly orthogonal) working code:

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{Antibes}

\begin{document}
\section{Section 1}
\subsection{Subsection 1}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\begin{frame}
\frametitle{Slide 1}
This is some content
\end{frame}

\end{document}
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document} – Christian Hupfer Jun 27 '14 at 11:30
  • I wonder if this'd be solved by using a different theme. – girnigoe Jun 27 '14 at 19:00
  • Why use paragraph instead of subsubsection? If you put a subsubsection before every frame you will get the result you want. Not a automatically way, but it works! :) – Smarzaro Nov 14 '14 at 23:34

The following answer opens a new \subsubsection at the beginning of every frame:

\documentclass{beamer}
\usetheme{Antibes}

\usepackage{etoolbox}

\makeatletter
\apptocmd{\beamer@@frametitle}{
    \subsubsection{\insertframetitle}
}
\makeatother

\begin{document}

    \begin{frame}
        \tableofcontents
    \end{frame}

    \section{Section 1}
    \subsection{Subsection 1}

    \begin{frame}
        \frametitle{Slide 1}
        This is some content
    \end{frame}

    \begin{frame}
        \frametitle{Slide 2}
        This is some content
    \end{frame} 

\end{document}

enter image description here

  • this is a crime nonetheless ;) – percusse Feb 29 '16 at 20:49

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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