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'm using a table with alternating colors in beamer. Is there a way to base the colors I use on the palette that is already defined? In this way if I switch color themes the colors should still go well together.

http://maururu.net/2007/latex-beamer-color-palette/

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Section 17.2.2 “Using Beamer’s Colors” of the Beamer manual describes how to use preset colors: The command \usebeamercolor[fg]{<beamer color name>} and \usebeamercolor[bg]{<beamer color name>} set the current color to the foreground resp. background color given by beamer color name. Typical values for beamer color name are normal text, structure or alerted text

Of specific interest for you are probably the palette colors (see section 17.4 of the manual) palette primary to palette quaternary and palette sidebar primary, etc. Themes are typically based on these colors.

You can also have a look at the beamer/themes/color/beamercolortheme*.sty files (in the beamer installation dir, usually under $TEXMF/tex/latex/) to see what colors are typically defined by a color theme.

(All section numbers refer to the beamer v3.10 manual.)

share|improve this answer

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.