I would like to have an animation (consisting of three pictures pic-0.jpg, pic-1.jpg, pic-2.jpg) with additional elements added on the top of the animation. What am I doing wrong? And how can I do it right?
\documentclass[xcolor={dvipsnames,svgnames,table},11pt]{beamer}
\usepackage{animate}
\begin{document}
\begin{frame}
\only<1>{Text}
\only<2>
{\begin{animateinline}[autoplay,loop]{6}
\multiframe{3}{i=0+1}{
\begin{figure}[h!]
\centering
\setlength{\unitlength}{0.1\textwidth}
\begin{picture}(0,0)
\put(-6,-3){\includegraphics[height=0.8\columnwidth]{pic-\i} }
\put(4.5,-2){$x$}
\end{picture}
\end{figure} }
\end{animateinline} }
\end{frame}
\end{document}
figureenvironment insideanimateinlineenvironment; (2) zeropicturesize – AlexG Jan 31 '18 at 14:09