Matthew Leingang just provided a nice example of beamer's \animate method. If in this example (don't want to repeat it here) I replace \animate<2-10> with \animate<3-10>, how will I then be able to move back from the last page to the second page? (Moving to the first page is easy ...) I tried the navigation symbols, but to no avail.
Asked
Active
Viewed 3,039 times
7
Hendrik Vogt
- 37,935
1 Answers
5
It starts with an empty frame. Clicking the mouse button views the presentation, clicking again starts it, but not if you click into the frame of the object (look at the mouse pointer!). At the end of the presentation you can click into the object and will go back to the second frame.
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}
\hypertarget<2>{2nd}{}
\hyperlink<2-10>{2nd}{%
\begin{tikzpicture}[every node/.style={draw}]
\node (s) {sender};
\node (r) at (5,0) {receiver};
\animate<3-10>
\foreach \pos in {0.1,0.2,...,1.0} {
\action<+>{
\path (s) -- (r) node[pos=\pos,coordinate] (p) {};
\draw[->] (s) -- (p);
}
}
\end{tikzpicture}
}
\end{frame}
\end{document}
Hendrik Vogt
- 37,935
-
@Herbert: Thanks for this answer. I can't get it to work right now, but this is a viewer problem. I'll test it tomorrow on a different computer. – Hendrik Vogt Feb 18 '11 at 13:49
-
-
@Herbert: Thanks. Well, I used that, but even Matthew's example didn't animate. No idea what's wrong with my computer. – Hendrik Vogt Feb 18 '11 at 14:20
-
-
-
Sorry, Herbert, it was meant for @Hendrik or course. I got confused with the
Hes in both of your names :-) – Martin Scharrer Feb 18 '11 at 15:20 -
@Martin: Thanks, I indeed forgot to switch to fullscreen mode, stupid me. @Herbert: Your solution doesn't meet my request to move back from the last page to the second page, but I was able to achieve that myself, based on your answer. I'll take the liberty and edit your answer accordingly. Thanks for your help! – Hendrik Vogt Feb 19 '11 at 11:15
-
@Hendrik: Works fine for me as well. I will give the bounty after you tick the answer, or is this supposed to be other way around? – Martin Scharrer Feb 19 '11 at 11:28
-
@Martin: It's independent, I think. I'll wait a few hours before accepting. You can go ahead. – Hendrik Vogt Feb 19 '11 at 11:31
:-(. What I'd really like is to make "page up" work somehow! – Hendrik Vogt Dec 01 '10 at 16:13