latex animategraphics code example

Example: latex animategraphics

To get a gif in you will need the individual frames as png files

\begin{frame}
\animategraphics[options]{frame rate}{file basename}{first_frame_number}{last_frame_number}
\end{frame}


#############
Options
The most relevant options are probably

autoplay automatically starts the animation after the page has opened
loop restarts the animation after reaching the end
width=h-size sets the width of the animation widget
controls[=all | true | on] or controls=(none | false | off) | {[play][,step][,stop][,speed]} adds and customizes controls for the animation

Tags:

Misc Example