Search code examples
latex

How to suppress subsections in the table of contents in latex-beamer?


Assume I have some sections within my latex-beamer presentation. Some of these sections contain subsections, others do not. So it looks very weird in the table of contents.

How can I suppress subsections in the table of contents?


Solution

  • To keep a specific subsection out of the index use: \subsection*{...}

    To remove all subsections from the TOC only, use: \tableofcontents[hideallsubsections] (added from another answer)