# [Tex/LaTex] Beamer ToC Advanced Overlays

I want to have a Table of Contents in my Beamer presentation, but I want it to be laid out in an apparently particular way. For the first section, what I want is an overlay for each section (I currently have 3) with the nth section "shown" and the others shaded. At the start of the other sections, I just want to show that section and have the others shaded. Those last ones I can do (I just can't use \AtBeginSection since my first section will be different) and looking at this post got me halfway to where I want, but I want to be able to make the other sections shaded again. My code present looks something like the following:

\documentclass[pdf,usenames,dvipsnames]{beamer}
\usepackage{graphicx}
...
\begin{document}
\section{Section 1}
\setbeamercovered{still covered={\opaqueness<1->{20}},again covered={\opaqueness<1->{20}}}
\tableofcontents[pausesections]
\end{frame}
\setbeamercovered{invisible}
\subsection{Subsection 1a}
...
\section{Section 2}
\tableofcontents[currentsection]
\end{frame}
\subsection{Subsection 2a}
...
\section{Section 3}
\tableofcontents[currentsection]
\end{frame}
\subsection{Subsection 3a}
...
\end{document}


You can specify the appearance of the table of contents with the sectionstyle and subsectionsectionstyle commands.

In your particular case you can use \tableofcontents[pausesections] for the first section (as you did before) and \tableofcontents[sectionstyle=show/shaded, subsectionstyle=show/show/shaded] for the following sections.

The full MWE look like:

\documentclass[pdf,usenames,dvipsnames]{beamer}

\setbeamercovered{transparent}

\begin{document}
\section{Section 1}
\tableofcontents[pausesections]
\end{frame}
\subsection{Subsection 1a}

\section{Section 2}