I am working on a presentation and want to show a statement (Th. 1) on slide. On the next slide an argument for the proof should appear under the statement. On the third slide of the frame, the argument should disappear and a statement similar to Th. 1 should become visible.
I tried using the \overprint
environment from the beamer
class, but the block
's still wobble (the documentation of beamer
says that this should not be the case). For itemize
the \overprint
command does work (beamer overprint with itemize).
What do I have to do that Th. 1 is on all three slides on the exact position and nothing wobbles?
MWE:
\documentclass{beamer}
\begin{document}
% ----- this works -----
\frame{
\begin{overprint}
\onslide<1>
\begin{itemize}
\item Foo
\item Bar
\end{itemize}
\onslide<2>
\begin{itemize}
\item I replace Foo
\item I replace Bar
\item I am new!
\end{itemize}
\end{overprint}
}
% ----- this does not -----
\begin{frame}{Results}
\begin{overprint}
\onslide<1->{
\begin{block}{Th. 1}
Some statement, given:
\begin{enumerate}[i)]
\item Foo
\item Bar
\item FooBar
\end{enumerate}
\end{block}}
%\vspace*{0.5cm}
\onslide*<2>{
\begin{block}{Lemma}
An Argument for the proof.
\[
E = mc^2.
\]
\end{block}}
\onslide*<3>{
\begin{block}{Th. 2}
Some similar statement, given:
\begin{enumerate}[i)]
\item Foo
\item Bar
\item BarFoo
\end{enumerate}
\end{block}}
\end{overprint}
\end{frame}
\end{document}