What's this about
Is it possible to create animations in LaTeX for presentations? That is what kept me from using it for presentations so far. What I'm looking for especially is:
- Fade in
- Fade out
- Move an object from a to b and along a path
- change size of an object
Nice to have would be a variety of "appear"-animations.
I have noticed that the packages multimedia
, movie15
, animate
exist. I think only the last one is of interest for me.
The alternative for me is not PowerPoint by the way, but going with a HTML5 framework like deck.js with animation framework (which I'd still have to learn).
Questions:
- Would
animate
do the job for me and how difficult is it to learn? - Is there another alternative package?
- When I write "object" I mean as well a group of objects. Would that be possible?
- How does animated presentation in latex compare to animated presentation in HTML5 frameworks?
- How would good does https://www.ctan.org/pkg/insdljs work for that? (See as well http://entwicklertag.de/karlsruhe/2012/vortraege/javascript-im-latex-quellcode-zur-programmierung-von-pdf)
Best Answer
Since you are not asking for any specific product, I would like to give some explanation without concrete example.
Package
animate
would do the job that eat a PDF (sub)file and embeds it into the main PDF file. So it is possible to, say, draw a series of TikZ pictures onto an individual file and make it alive in the main one. It has a vivid document and I guess that makes it easy to learn.Probably yes. But the mechanism is the same: you embed something, movable or speakable, into the main PDF file, and then play it, automatically or manually. PDF readers does not like embedded file very much, so it does not really matter if there are alternatives.
In PDF standard there is a feature:
Please notice that it says viewed or hidden: there is no transition defined.
In conclusion, they are all possible. But one have to realize that most PDF readers does not support what
animate
/media9
produces. For example on Mac, most people have Preview as the default and the only PDF reader, which shows nothing when it encounters those fancy things. Even your PDF reader support these features, they are definitely not designed to support a lot of them.In some sense, this makes your Portable Document Formate file not portable anymore.
Cheat list
PDF standard support the following:
animate
.ocg-p
.media9
. (movie15
is obsolete.)Asymptote
and the packageasymptote
do the job.