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.

The code below gives the following output for the head:

Here the first section on the left is active and the others not, but the difference is quite small, I would like the active section to be in gray. Is there a way to control how the colors are mixed, so that I can increase the contrast (by dimming the inactive section even further)?

\documentclass{beamer}
\usetheme{Singapore}
\setbeamercolor{section in head/foot}{fg=gray,bg=white} 

\begin{document}
 \section{one}
 \begin{frame}
 \end{frame}

 \section{two}
 \begin{frame}
 \end{frame}

 \section{three}
 \begin{frame}
 \end{frame}
\end{document}
share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can use the apposite template section in head/foot shaded.

Example:

\documentclass{beamer}
\usetheme{Singapore}
\setbeamercolor{section in head/foot}{fg=gray,bg=white} 
\setbeamertemplate{section in head/foot shaded}[default][10]

\begin{document}
 \section{one}
 \begin{frame}
 text
 \end{frame}

 \section{two}
 \begin{frame}
 text
 \end{frame}

 \section{three}
 \begin{frame}
 text
 \end{frame}
\end{document}

With [10] it is defined the percentage of opaqueness.

Result:

enter image description here

share|improve this answer
    
great! Thanks a lot. –  jenson_bo Aug 27 '12 at 10:27

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.