Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I like to use \tableofcontents[currentsection] as an orientation at the start of a new section. But in my experience (depending on the projector), the default shading of the other sections can be to light. How can I change it?

MWE:

\documentclass{beamer}

\begin{document}

\section{First Section}

\frame{
\frametitle{Title}
A frame of the first section
}

\section{Second Section}

\frame{
\frametitle{The shaded section is too light!}
\tableofcontents[currentsection]
}

\end{document}
share|improve this question

1 Answer 1

up vote 8 down vote accepted

You can set the section in toc shaded template; one way to do so, is to use the second optional argument (default value = 20) to a higher value (a value of 100 gives no shading at all and the entry will look like the no-shaded ones; a value of zero gives a completely transparent entry):

\documentclass{beamer}

\setbeamertemplate{section in toc shaded}[default][50]

\begin{document}

\section{First Section}

\frame{
\frametitle{Title}
A frame of the first section
}

\section{Second Section}

\frame{
\frametitle{The shaded section is not too light anymore!}
\tableofcontents[currentsection]
}

\end{document}

enter image description here

share|improve this answer
    
That's precisely what I wanted, thanks! Related to the problem is that the background of blocks tends to get too light. Is there a likewise easy solution for this? –  NauC Aug 10 '12 at 19:30
    
@NauC You're welcome. Regarding the other issue, since it is not directly related to the subject of this question, I think it's better if you open a fresh new question. –  Gonzalo Medina Aug 10 '12 at 19:43
    
@NauC don't forget to add to your follow-up question the beamertheme(s) that you are using. –  Gonzalo Medina Aug 10 '12 at 22:30
    
– Thanks for the tip, but I figured out how to do it on my own :) –  NauC Aug 11 '12 at 9:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.