I want to use this overly command


inside an equation environment to color some terms.

How can I do this?

  • 2
    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, 2011 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, 2011 at 0:23

1 Answer 1


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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