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.

How do I shade in a LaTeX beamer only the previous sections but not the following sections?

Just right now I have something like

\documentclass{beamer}

\begin{document}

\section{Section1}
\section{Section2}
\tableofcontents[currentsection] 
\section{Section3}
\frame{}

\end{document}

which leads to a TOC which highlights Section2 and shades the other sections Highlighting only Section2. The desired behaviour would be to highlight Section2 and Section3 and shade only Section1

share|improve this question
    
Does this answer help? –  Andrew Uzzell Oct 5 '12 at 13:06
1  
Or this one? –  Andrew Uzzell Oct 8 '12 at 8:05
add comment

1 Answer

up vote 2 down vote accepted

This answer gave me the clue (thanks to @AndrewUzzel). Splitting in two parts and using two tocs solved it, however spacing needs to be adjusted. Here is the miminal example:

\documentclass{beamer}

\begin{document}
\part{one}
\section{Section1}
\part{two}
\section{Section2}
\frame{
\tableofcontents[part=1,currentsection]\tableofcontents
}
\section{Section3}
\frame{}

\end{document}
share|improve this answer
add comment

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.