2

This question already has an answer here:

At the beginning of each section I want to add a table of content without the subsections and a table of content with the subsections. What can I do?

marked as duplicate by Ruben, Svend Tveskæg, user31729, user13907, Thorsten Dec 21 '14 at 13:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4

You can achieve this with the optional arguments for \tableofcontents and the \AtBeginSection-command.

You can define the style for the sections and subsections like this:

sectionstyle=<current section>/<other sections>

subsectionstyle=<current subsection>/<other subsections in current secton>/<other subsections>

Valid keywords are show, shaded and hide

This places a Toc without subsections and one with the subsections of the current section at each section:

\AtBeginSection[]
{
  \begin{frame}{title}
  \tableofcontents[
    sectionstyle=show/show,
    subsectionstyle=hide/hide/hide
  ]
  \end{frame}
  \begin{frame}{title}
  \tableofcontents[
    currentsection,
    sectionstyle=show/hide,
    subsectionstyle=show/show/hide
  ]
  \end{frame}
}

See page 99–­100 of the beamer user guide for explanation

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