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 am using Beamer for the first time. I use setbeamercolor to change most of the colors of the miniframes and so on. But how to I change the color of the highlighted text in the headline and table of content. Right now it is bright green.

\documentclass[xcolor=dvipsnames,compress,12pt]{beamer}%
\mode<presentation>

%% General document %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{beamerthemeshadow}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Beamer Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\useoutertheme[subsection=false,shadow]{miniframes}
\usecolortheme{seahorse}
\usecolortheme{rose}
\usefonttheme{serif}
share|improve this question
1  
Could you provide a complete example? With that preamble, I don't get any green. What other things are you setting? –  Andrew Stacey Sep 2 '11 at 22:53
add comment

1 Answer

To change theme-specific highlighting colours then, in addition to the settings applied by \usecolortheme, you can use specific \setbeamercolor commands such as:

\setbeamercolor{section in toc shaded}{fg=red}
\setbeamercolor{section in toc}{fg=blue}

to change the colour of text in the table of contents (assuming by 'highlighted' you mean 'not shaded'?) and

\setbeamercolor{section in head/foot}{fg=red}

to change the colour of section text in the headline.

See section 17 of the beamer user guide and beamercolorthemedefault.sty for more details on colours and the names of areas/characters that can be specified. The latter also indicates the parent/child relationships.

share|improve this answer
    
Thank you Andrew and Mas! I used \hypersetup{colorlinks=true,anchorcolor=yellow,linkcolor=green,menucolor=cyan} and therefore my TOC text was green. Now its white or black depending on the background. –  Romina Sep 5 '11 at 19:40
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.