[Tex/LaTex] Beamer color overlay in equation environment

beamerequationsoverlays

I want to use this overly command

<2->\alert<2>

inside an equation environment to color some terms.

How can I do this?

Best Answer

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

Related Question