Say I have 2 sequences of images imA-1.png
,imA-2.png
,…,imA-n.png
and imB-1.png
,…imB-n.png
. I would like to use something like xmpmulti
's \multiinclude
, but the following prints the imA
sequence alone and then imA-n.png
side by side with the entire imB
sequence:
\begin{frame}
\multiinclude[format=png,start=1,graphics={width=0.4\textwidth}]{imA}
\multiinclude[format=png,start=1,graphics={width=0.4\textwidth}]{imB}
\end{frame}
Any suggestions for how to get imA-1.png
with imB-1.png
, imA-2.png
with imB-2.png
, and so forth?
Best Answer
If I get right what you want to do, you should try to use
\animategraphics
, which is in theanimate
package. It works simply like that, for your problemYou pass some arguments in the brackets (
autoplay
to have it starting automatically, you can useloop
to have it looping etc.), the second argument is the number of frames per second (here it is 3), then it is the "root" of the name of your images, and finally the starting and ending indices.