Document Classes[beamer] alternating text/figures in the same slide

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
plutus
Posts: 4
Joined: Thu Apr 22, 2010 10:50 am

[beamer] alternating text/figures in the same slide

Post by plutus »

I'm trying to build up a slide in the form

-text (which is always visible)
-show up of a figure
-figure disappears, new text (always visible)
-figure explaining the new text, then disappearing
etc

the code is more or less the following

Code: Select all

	\begin{frame}{Title}
	blabla
	\setbeamercovered{invisible}	
			\begin{itemize}
			\uncover<2->{\item Text1}
				\only<2>{\begin{figure}[h]\includegraphics[angle=-90,scale=0.19]{fig1.eps}\end{figure}} 
				\uncover<3->{\item text 2}				
				\only<4>{\begin{figure}[h] 
			\includegraphics[angle=0,scale=0.4]{figures/fig2.eps}
						\end{figure}}
				\uncover<5->{\item text 3}
				...
the problem is the formatting of the slide:
when text/figures alternate, the top margin changes and as a result the succession of slides is not very nice. I've tried to use the \phantom command to allocate the space occupied by the figures but again the final result is not fully ok...ideas?

Recommended reading 2024:

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

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

stephan lindner
Posts: 1
Joined: Sun May 02, 2010 5:29 pm

Re: [beamer] alternating text/figures in the same slide

Post by stephan lindner »

Have you tried the textpos package? The command textblock might help you to put the text exactly where you want it, and I think I saw applications of it for pictures on the web.
Post Reply