Document Classes ⇒ beamer - Putting several blocks in the same place
beamer - Putting several blocks in the same place
I'm trying to put several blocks in just one slide and in the same place. So I thought I could do it using overlays. I tried to use overlays to put, for example 2 or 3 blocks in the same position, but it didn't work. Only the first block appears in the position I want, but the rest of the blocks don't.
Any suggestion?
Thannks in advance.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
beamer - Putting several blocks in the same place
the following simple code behaves as expected:
Code: Select all
\documentclass{beamer}
\begin{document}
\begin{frame}
\only<1>{\centering\color{blue}\rule{4cm}{2cm}\par}
\only<2>{\centering\color{red}\rule{4cm}{2cm}\par}
\only<3>{\centering\color{yellow}\rule{4cm}{2cm}\par}
\end{frame}
\end{document}