Changes

Jump to navigation Jump to search
534 bytes added ,  10:02, 6 October 2014
add example of animation module with formulae
\setupinteraction[state=start]
\definepairedbox[animationtext][location=top,align=middle,width=\textwidth]
\starttext
{\placeanimationtext{The letter c}{\externalfigure[dummy]}}
{\placeanimationtext{The letter d}{\externalfigure[dummy]}}
\stopanimation
 
\stoptext
</texcode>
 
=== Example with formulae ===
<texcode>
\usemodule[animation]
 
\setuppapersize[S6][S6]
 
\setupinteraction[state=start]
 
\definepairedbox[animationtext][location=top,align=middle,width=\textwidth]
 
\starttext
 
\startanimation
{\placeanimationtext{Sine norm, and}{\startformula \int_{0}^{2\pi}\sin^2(x)dx = \stopformula}}
{\placeanimationtext{Cosine norm}{\startformula\int_{0}^{2\pi}\cos^2(x)dx = \stopformula}}
{\placeanimationtext{are equal}{\startformula = \pi. \stopformula}}
\stopanimation

Navigation menu