1

I would like to animate some overlays using animatevalue, but I don't know of a way to stop the animation at the last overlay. Is there a way to make this independent of OS and pdf reader? If not, how do you do it in whatever reader it can be done in (I suspect only Adobe Reader does it, but I don't know for sure.).

Here is a minimal example of what I want to animate and stop right before the second frame.

\documentclass[12pt,t]{beamer}
\DeclareGraphicsExtensions{.pstex,.eps,.ps,.pdf,.png,.jpeg,.jpg}
\setbeameroption{hide notes}
%\usetheme{default}
%\useinnertheme{default}
\usepackage{graphicx,wrapfig}
\setbeamertemplate{footline}{%
    \raisebox{5pt}{\makebox[\paperwidth]{\hfill\makebox[20pt]{\color{gray}
          \scriptsize\insertframenumber/\inserttotalframenumber}}}\hspace*{5pt}}
\usenavigationsymbolstemplate{}
\begin{document}
\newlength\ciscowidth
\begin{frame}
  \animate<2-35>
  \animatevalue<1-35>{\ciscowidth}{0.7\textwidth}{0.2\textwidth}
  \frametitle{``Layered'' Data Centre}
\begin{wrapfigure}[5]{R}{\ciscowidth}%\ciscowidth}
  %\includegraphics[width=\ciscowidth]{cisco-layered.jpg}
\end{wrapfigure}
~\uncover<36->{
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
Here is a bunch of text 
}
\end{frame}

\begin{frame}
  \frametitle{Another frame}
\end{frame}
\end{document}

closed as unclear what you're asking by user36296, Zarko, user13907, egreg, Stefan Pinnow Sep 13 '16 at 20:53

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • It does stop before second frame for me with adobe reader. Is there anything missing? – user11232 Apr 25 '15 at 12:48
  • In adobe reader on the mac it does not even appear to animate... But it's good to know that I used the \animate tag correctly. What system did you use? edit: I take that back. It does animate in AR full screen mode, but then I can't go back to the beginning of the first frame! Hence the reason why I (many of us, in fact) don't use or trust it. Can anyone suggest another pdf reader that will behave more reasonably? – Alejandro Apr 25 '15 at 12:55
  • This won't compile since we don't have access to your image file cisco-layered.jpg, cf. how to make a minimal working example (MWE). – Sverre Apr 25 '15 at 14:47
  • It should compile now :) – Alejandro Apr 25 '15 at 19:59

Browse other questions tagged or ask your own question.