tableofcontents


Latex / Beamer: Table of contents that shows other subsections only for current section

The following snippet will create a table of contents which will show the titles of all sections but it will include the subsections that belong to the current section only. This way, we can copy paste this slide in different parts of the presentation and have a custom table of contents per section.

\section{Introduction}

\begin{frame}{Outline for \secname}
	\tableofcontents[currentsection, hideothersubsections, sectionstyle=show/show]
\end{frame}