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?
Asked
Active
Viewed 1,883 times
3
1 Answers
5
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
MaxNoe
- 6,136
\documentclass{...}and ending with\end{document}. You are probably looking forminitocoretocpackage – Dec 21 '14 at 10:49\tableofcontentsin beamer – MaxNoe Dec 21 '14 at 12:51