Animations in LaTeX now easy

One of the main things that PowerPoint used to have up on presentations prepared by pdflatex were animations. It turns out this is easy to do now if you use acroread to display your slides!

We need the [ animate package].

As an example, we'll build an example starting from Bill Casselman's [ rotating Gamma] in eps format.

First, we turn this into a pdf file, using epstopdf by calling

epstopdf c3d.eps

Conversion from eps to pdf is tricky because many programs get the bounding box wrong. This one seems to work.

The following LaTeX file now does the trick (let's call the file gamma.tex)


    \frametitle{Bill's character rotations}
        % Set frame rate to 12 frames/sec. Load frames from setanim.pdf.
        % We will use all frames, so there is no need to specify a start
        % and end frame.

After making sure we have animate installed, we run

pdflatex gamma.tex

and the resulting file gamma.pdf does the trick when viewed with acroread