Generaldynamically changing images in beamer class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

dynamically changing images in beamer class

Post by carol »

Hi,
I have used the following code but only the first image images.jpg gets displayed. I don't get the 2nd one. I don't get any error msg. Did I do some thing wrong? Do you need the output or images on any thing else?

\documentclass[10pt]{beamer}
\mode<presentation>

\usepackage{beamerthemesplit}
\begin{document}

\section{An Example}
\subsection{version 1}
\begin{frame}[allowframebreaks]
\frametitle{Things to do on a Sunday Afternoon}
\includegraphics<1>{../latex/images.jpg}
\includegraphics<2>{../latex/gmedina.png}
\begin{block}{One could \ldots}
\begin{itemize}
\item walk the dog\dots
\item read a book
\item confuse a cat
\end{itemize}
\end{block}

... the rest of the code

Recommended reading 2024:

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

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

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

dynamically changing images in beamer class

Post by gmedina »

Hi carol,

you cannot use overlay specifications together with the allowframebreaks option.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: dynamically changing images in beamer class

Post by carol »

So basically, we get limited in using many useful features with allowframebreaks (see also http://www.latex-community.org/forum/vi ... f=5&t=5497). Although allowframebreaks is useful, how to combine its usage with other features? If impossible, how to replace it by other options, functions to be used with discussed features? There must be a solution other than splitting a frame and numbering overlay sub-frames manually.

Thanks and look forward to your reply,

Carol
Post Reply