diff options
author | Karl Berry <karl@freefriends.org> | 2020-08-29 20:13:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-08-29 20:13:57 +0000 |
commit | ee78b27732bdc94b3c2b0505f45f4dc088cdc65e (patch) | |
tree | b9c8ef7ba2cf90ca364a0c83fc1f85349e8a3fff /Master/texmf-dist/source | |
parent | 08dc61382247c7a332761cdeaad266fcf97d4fd4 (diff) |
animate (29aug20)
git-svn-id: svn://tug.org/texlive/trunk@56207 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/animate/animate.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/animate/animate.tex b/Master/texmf-dist/source/latex/animate/animate.tex index 14316a68dd3..1cabe9c9fef 100644 --- a/Master/texmf-dist/source/latex/animate/animate.tex +++ b/Master/texmf-dist/source/latex/animate/animate.tex @@ -235,6 +235,11 @@ and the environment \newframe \multiframe{<number of frames>}{[<variables>]}{ ... repeated (parameterized) material ... + \multiframebreak % optional! +} +\newframe*[...] % some \newframe variant required +\multiframe{...}{...}{ % between two \multiframes + ... } \end{animateinline} \end{verbatim} @@ -249,6 +254,8 @@ The \verb+\multiframe+ command allows the construction of loops around pictures. \end{verbatim} \verb+<variable name>+ is a sequence of one or more letters \emph{without} a leading backslash\footnote{This is different from {\tt\string\multido} (package `multido') where variable names have a leading `{\tt\textbackslash}' in the declaration.}. The first (and possibly only) letter of the variable name determines the type of the variable. There are three different types: integers (`\verb+i+', `\verb+I+'), reals (`\verb+n+', `\verb+N+', `\verb+r+', `\verb+R+') and dimensions or \LaTeX{} lengths (`\verb+d+', `\verb+D+'). Upon first execution of the loop body, the variable takes the value \verb+<initial value>+. Each further iteration increments the variable by \verb+<increment>+. Negative increments must be preceded by `\verb+-+'. Here are some examples: `\verb:i=1+2:', `\verb:Rx=10.0+-2.25:', `\verb:dim=20pt+1ex:'. Within the loop body, variables are expanded to their current value by prepending a backslash to the variable name, that is \verb+\i+, \verb+\Rx+ and \verb+\dim+ according to the previous examples. \verb+\multiframe+ must be surrounded by \verb+\begin{animateinline}+ and \verb+\end{animateinline}+ or by any of the \verb+\newframe+ variants. Two consecutive \verb+\multiframe+ commands must be separated by one of the \verb+\newframe+ variants. +\verb+\multiframebreak+ can be called to terminate a \verb+\multiframe+ loop prematurely, usually as part of a conditional statement. This command should preferably be placed near the end of the loop body in order not to produce an empty animation frame. + By default, the animation is built frame by frame in the order of inclusion of the embedded material. However, extended control of the order of appearance, superposition and repetition of the material is available through the `\verb+timeline+' option (see Section~\ref{sect:timeline}). \myparagraph*{Sets of graphics files} |