Verified Commit 9280497a authored by Sebastian Endres's avatar Sebastian Endres
Browse files

Add toc as sectionpage option to display the Table of Contents before each section

parent 558ff2c1
Pipeline #77164 passed with stage
in 11 seconds
......@@ -61,6 +61,8 @@
\setbeamertemplate{section page}[simple]},
progressbar/.code={\neo@enablesectionpage
\setbeamertemplate{section page}[progressbar]},
toc/.code={\neo@enablesectionpage
\setbeamertemplate{section page}[toc]},
}
% \end{macrocode}
% \end{macro}
......@@ -306,6 +308,14 @@
\par
\vspace{\baselineskip}
}
\defbeamertemplate{section page}{toc}{
%\frametitle{\insertsectionhead}
\frametitle{Table of Contents}
\setbeamertemplate{section in toc}[sections numbered]
\tableofcontents[currentsection,hideallsubsections]
% \vfill{}
% \usebeamertemplate*{progress bar in section page}
}
\newcommand{\neo@disablesectionpage}{
\AtBeginSection{
% intentionally empty
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment