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

I want to use this overly command


inside an equation environment to color some terms.

How can I do this?

share|improve this question
The code snippet you wrote is quite ambiguous. What exactly are you trying to alert there? If you want a working example, you can find one on page 27 of the Beamer's user manual v.3.12. – percusse Nov 15 '11 at 11:09
You don't need to use the overlay environment per se. Instead, you use the overlay specification of the \alert command (specified by <...>) to define the frames on which the contents should be "alerted"/highlighted. See page 117 of the beamer documentation. – Werner Nov 16 '11 at 0:23
up vote 8 down vote accepted

You really should provide a more complete example. I'm guessing that you may be after something like the example below, but if my guess is wrong I'll delete this answer.



     \alert<1->{f(x)} = \alert<2>{ax^2} + \alert<3>{bx} + \alert<4>{c}

enter image description here

share|improve this answer

Your Answer


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.