Document Classesoverlapping tikz based graphics on beamer

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
patolfo
Posts: 1
Joined: Thu Oct 16, 2008 11:00 pm

overlapping tikz based graphics on beamer

Post by patolfo »

Hi there guys, just found out beamer for presentations, so I want to know if there a possible way to overlap graphics on the same slide while the items on a list are presented.

Let's say for each item in an itemize environment a part of the graphic is exposed, the graphic is done with tikz.

Any ideas, I found out with arrows but I could not get it done with a more complex graphic.

this is the code i used but it says that the figures are not found but they are recognized if used with out the overlapping

\begin{frame}
\input<1>{./figures/suma_ideal}%
\input<2>{./figures/y_tarde}%
\input<3>{./figures/y_tempra}%
\end{frame}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
propell
Posts: 44
Joined: Fri May 30, 2008 11:16 am

overlapping tikz based graphics on beamer

Post by propell »

patolfo wrote:
this is the code i used but it says that the figures are not found but they are recognized if used with out the overlapping

Code: Select all

\begin{frame}
\input<1>{./figures/suma_ideal}%
\input<2>{./figures/y_tarde}%
\input<3>{./figures/y_tempra}%
\end{frame}
The \input macro is not overlay aware. Try instead:

Code: Select all

\begin{frame}
\only<1>{\input{./figures/suma_ideal}}%
\only<2>{\input{./figures/y_tarde}}%
\only<3>{\input{./figures/y_tempra}}%
\end{frame}
You may also try \onslide instead of \only. \onslide takes the size of the invisible overlays into account.

For examples of how to use TikZ with Beamer you may find something useful here:
http://www.texample.net/tikz/examples/tag/beamer/

- Kjell Magne Fauske
Post Reply