Issue #220 resolved

\tableofcontents[currentsection] shading subsections of current section

Anonymous avatarAnonymous 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).

\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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.