Document Classesbeamer - Putting several blocks in the same place

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
turbomac
Posts: 34
Joined: Sat Oct 10, 2009 9:38 pm

beamer - Putting several blocks in the same place

Post by turbomac »

Hello everyone:

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.
Last edited by turbomac on Sun Aug 22, 2010 2:17 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

beamer - Putting several blocks in the same place

Post by gmedina »

Hi,

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}
so you'll have to elaborate your question a bit more.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
turbomac
Posts: 34
Joined: Sat Oct 10, 2009 9:38 pm

beamer - Putting several blocks in the same place

Post by turbomac »

Oh, that's exactly what I want. Thank you very much!!!
Post Reply