Changes

Jump to navigation Jump to search
765 bytes added ,  07:52, 6 October 2014
example for using the animation module
* pdfclock
* [[5BarMechAnim|Animation of a five bar mechanism]]
 
== Using [[modules:animation|the animation module]] ==
 
=== Simple example ===
<texcode>
\usemodule[animation]
\setupinteraction[state=start]
 
\starttext
 
\startanimation
{\externalfigure[dummy]A}
{\externalfigure[dummy]B}
{\externalfigure[dummy]C}
{\externalfigure[dummy]D}
\stopanimation
 
\stoptext
</texcode>
 
 
=== Add captions ===
<texcode>
\usemodule[animation]
\setupinteraction[state=start]
 
\definepairedbox[animationtext][location=top,align=middle]
 
\starttext
 
\startanimation
{\placeanimationtext{The letter a}{\externalfigure[dummy]}}
{\placeanimationtext{The letter b}{\externalfigure[dummy]}}
{\placeanimationtext{The letter c}{\externalfigure[dummy]}}
{\placeanimationtext{The letter d}{\externalfigure[dummy]}}
\stopanimation
 
\stoptext
</texcode>
== Animating Text ==

Navigation menu