1. Vedran Miletić
  2. beamer
  3. Issues
Issue #220 resolved

\tableofcontents[currentsection] shading subsections of current section

Anonymous created an issue

In the Beamer 3.22 User Guide, \tableofcontents[currentsection] says "all subsections but those in the current section are shown in the semi-transparent way." It also says that the currentsection option is a shorthand for "sectionstyle=show/shaded,subsectionstyle=show/show/shaded".

However, subsections of the current section seem to be being shaded instead of shown. This is visible in page 1 of the minimal test case below (compiled with pdflatex). Note that this error is not present when the sectionstyle and subsectionstyle options are set explicitly (commented out below).

{{{

!latex

\documentclass{beamer}

\AtBeginSection[] { \begin{frame} \frametitle{Outline} \tableofcontents[currentsection] % \tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/show/shaded] \end{frame} }

\begin{document}

\section{The single-coordinate problem}

\subsection{Signals}

\begin{frame} \end{frame} \end{document} }}}

Comments (2)

  1. Joseph Wright

    Show subsections for current section in TOC (fixes issue #220)

    The behaviour in use did not match the docs, which say that the text here should be shown and not faded. There is an argument for the older behaviour, but as this is explicitly mentioned in the docs should be right!

    5ed0f4010e8a

  2. Log in to comment