TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to color math symbols?

I have an equation: y = 2x + 3. How would I make the 2x red in equation mode in beamer?

share|improve this question

marked as duplicate by Jake, egreg, Peter Grill, Stefan Kottwitz Feb 9 '12 at 23:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

For beamer, perhaps coloured math in beamer is a better duplicate. – Peter Grill Feb 9 '12 at 22:36
@PeterGrill: But would the solution suggested in that answer work for just parts of an equation? It seems like it just explains how to switch the colour for maths stuff in general. – Jake Feb 9 '12 at 22:53
@Jake: Obviously I have not had enough coffee today... You are correct. So the first one is probably a better duplicate. – Peter Grill Feb 9 '12 at 23:00
up vote 8 down vote accepted
\author{Kaare Mikkelsen}

if you look into the documentation of the graphicx package (http://ctan.org/pkg/graphicx), you can also define your own colors.

share|improve this answer

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