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 want to use this overly command

<2->\alert<2>

inside an equation environment to color some terms.

How can I do this?

share|improve this question
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 '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

1 Answer 1

up vote 7 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.

\documentclass{beamer}
\usepackage{amsmath}

\begin{document}

\begin{frame}{Demo}
\Huge
  \begin{equation*}
     \alert<1->{f(x)} = \alert<2>{ax^2} + \alert<3>{bx} + \alert<4>{c}
  \end{equation*}
\end{frame}
\end{document}

enter image description here

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.