I'm making a beamer
presentation and I would like the table of contents to start with all the sections shaded, rather than with the first section already highlighted and subsequent sections shaded, which is the default behaviour for pausesections
. I've tried looking for similar questions but to no avail.
The following almost works, but whilst the initial overlay has all the sections shaded (good), the second overlay jumps to highlighting both Section 1 and Section 2 (bad). I presume this is because the first overlay adds 1 to the pausesections
-counter.
\documentclass[10pt]{beamer}
\begin{document}
\begin{frame}{Table of contents}
\only<1>{\tableofcontents[sectionstyle=shaded]}
\only<2->{\tableofcontents[pausesections]}
\end{frame}
\section{Section 1}
\begin{frame}{Frame 1}
\end{frame}
\section{Section 2}
\begin{frame}{Frame 2}
\end{frame}
\section{Section 3}
\begin{frame}{Frame 3}
\end{frame}
\end{document}