7

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.

Hendrik Vogt
  • 37,935
  • I think that you need to add a link in order to do that...then in the presentation you will have to click on the link. it has to be a special link not just a move back, but rather a "move to a particular slide" link...but I'll leave writing a full answer to somebody else. – Yossi Farjoun Dec 01 '10 at 15:18
  • 1
    One thing that doesn't work is trying to hit the left arrow eight times quickly. I tried that! Hyperlinks are covered in Section 10.1 of the beamer manual. – Matthew Leingang Dec 01 '10 at 16:07
  • 1
    @Matthew: I tried the hitting 8x thing too :-(. What I'd really like is to make "page up" work somehow! – Hendrik Vogt Dec 01 '10 at 16:13
  • it would be very nice to be able to connect pgup with a hyperlink (I am 100% sure the hyperlink option is available...but is requires using the mouse) – Yossi Farjoun Dec 01 '10 at 16:18
  • @Yossi Farjoun: that sounds like a PDF-viewer-specific implementation, and outside of the PDF file format spec. – Matthew Leingang Dec 01 '10 at 16:41
  • I'm now having the same problem and really would like to know how it can be done. – Martin Scharrer Feb 17 '11 at 21:02
  • @Hendrik: You are welcome. I need this as well and I also wanted to try out a bounty anyway. – Martin Scharrer Feb 18 '11 at 08:19

1 Answers1

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
  • @Hendrik: it works only eith the adobe reader –  Feb 18 '11 at 14:19
  • @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
  • @Herbert: Make sure you do it in fullscreen mode. – Martin Scharrer Feb 18 '11 at 14:58
  • @Martin: sure, how could I have seen it, when not already done so ;-) –  Feb 18 '11 at 15:15
  • 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