Beamer - make itemize (and space occupied) disappear

Jrop picture Jrop · Jun 5, 2010 · Viewed 19.9k times · Source

So I have two itemize's on one slide and a graphic underneath them both:

\onslide<1>{
    \begin{itemize}
      ...
    \end{itemize}
}

\onslide<2>{
    \begin{itemize}
      ...
    \end{itemize}
}

\includegraphics[width=5cm]{abc.eps}

So what I want is for the first itemize to be visible on the first slide, and the second itemize to be invisible and not occupy any space. Similarly, when I go to the next slide, I want the first itemize to go invisible and not occupy any space while showing the second itemize. I want the graphic to be visible and stay in the same place on both slides.

Is this possible?

Answer

Penz picture Penz · Oct 18, 2011

Use \alt or \temporal:

\alt<n>{at n}{not at n} for two alternatives.

\temporal<n>{before}{at n}{after} for three alternatives.

More information at http://saikat.guha.cc/ref/beamer_guide.pdf