On 03/10/2012 07:38 PM, s nedunuri wrote:
Hello I am trying to uncover a formula line by line. The Beamer User Guide suggests the following:

\begin{align}
A &= B \\
\uncover<2->{&= C \\}
\uncover<3->{&= D}
\end{align}

The problem is that when I try to do this in Lyx by "Insert | TeX" as soon as I type the "<" symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. Any suggestions?

I didn't have any luck trying to do this, either. But you can simply enter the above in TeX code. I.e.:

[ERT]
\begin{align}
A &= B \\
\uncover<2->{&= C \\}
\uncover<3->{&= D}
\end{align}
[/ERT]

That doesn't actually work for me, either, but it does compile, and it illustrates the fact that you can always insert raw TeX into a LyX document.

A different way to do this is with successive slides, the first of which has two blank lines, the second has one blank line, etc.

Richard

Reply via email to