# [powerdot] Re: onslide* question

• From: Murali Krishnan Ganapathy <gmkrishn@xxxxxxxxxxxxxxx>
• To: powerdot@xxxxxxxxxxxxx
• Date: Sat, 03 Jun 2006 01:41:46 -0500

\begin{equation*}
A = xyzp
\end{equation*}

\begin{equation*}
A = x\overbrace{yz}^{B}p
\end{equation*}

This should have been an \onslide* question according to the subject.
And yes, you can use that to do the thing.
\begin{equation*}
\onslide*{1}{A=xyzp}
\onslide*{2}{A = x\overbrace{yz}^{B}p}
\end{equation*}

Suppose you have the following code
----------
\begin{equation*}
\onslide*{1}{A=xyzp}
\onslide*{2}{A = x\overbrace{yz}^{B}p}
\end{equation*}

STUFF
-----------

In the first overlay, you have "A=xyzp" followed by STUFF. So far so good.
In the second overlay, STUFF gets moved lower because the overbrace equation requires more vertical space than the one without.
Hence the audience will see STUFF moving down abruptly.

The general question is this

"\onslide*{1}{X} \onslide*{2}{Y}" uses X space in the first overlay and Y space in the second
"\onslide{1}{X} \onslide{2}{Y}" uses X+Y space in both overlays (showing only one of the two)

What we need here is a way to use max(X,Y) space in both overlays and show one or the other.

Also in the given example, it would be great if the horizontal spacing was also preserved, i.e. when the overbrace comes the space between x and y increases. Is there a way by which one can account for all this in the first overlay without displaying the overbrace?

- Murali