diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/animate/animate.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/animate/animate.tex | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/animate/animate.tex b/Master/texmf-dist/doc/latex/animate/animate.tex index 15e149c9e94..7d0def56db3 100644 --- a/Master/texmf-dist/doc/latex/animate/animate.tex +++ b/Master/texmf-dist/doc/latex/animate/animate.tex @@ -231,7 +231,7 @@ width=<width> height=<height> depth=<depth> \end{verbatim} -Resize the animation widget. Option `\verb+depth+' specifies how far the animation widget should extend below the bottom line of the running text. If only one or two of these options are given, the remaining, unspecified dimensions are scaled to keep the aspect ratio. Any valid \TeX{} dimension is accepted as a parameter. Moreover, the length commands \verb+\width+, \verb+\height+, \verb+\depth+ and \verb+\totalheight+ may be used to refer to the original dimensions of the animation widget which correspond to the size of the first frame of the animated sequence. +Resize the animation widget. Option `\verb+depth+' specifies how far the animation widget should extend below the bottom line of the running text. If only one or two of these options are given, the remaining, unspecified dimensions are scaled to keep the aspect ratio. Any valid \TeX{} dimension is accepted as a parameter. In addition, the length commands \verb+\width+, \verb+\height+, \verb+\depth+ and \verb+\totalheight+ can be used to refer to the original dimensions of the animation widget which correspond to the size of the first frame of the animated sequence. \begin{verbatim} scale=<factor> \end{verbatim} @@ -282,6 +282,15 @@ end={<end text>} \begin{verbatim} begin={\begin{pspicture}(...)(...)}, end={\end{pspicture}} \end{verbatim} +A short note on the `\verb+tikzpicture+' environment: Unlike `\verb+pspicture+', the `{\tt tikz\-pic\-ture}' environment is able to determine its size from the graphical objects it encloses. However, this may result in differently sized frames of a sequence, depending on the size and position of the graphical objects. Thus, in order to ensure that all frames of the sequence be displayed properly scaled in the animation widget, a common bounding box should be shared by the frames. A bounding box can be provided by means of an invisible `\verb+rectangle+' object: +\begin{verbatim} + begin={ + \begin{tikzpicture} + \draw[line width=0pt, use as bounding box] + (... , ...) rectangle (... , ...); + }, + end={\end{tikzpicture}} +\end{verbatim} \subsection{The `{\tt timeline}' option}\label{sect:timeline} \begin{verbatim} @@ -697,13 +706,13 @@ A timeline file, written on-the-fly, is used to assemble the curve segments fram \psset{Alpha=120,Beta=20}% \pstThreeDCoor[xMax=33,yMax=33,zMax=55,linecolor=black]% \newframe% - \pstVerb{/laststate [3 15 1] def}% + \pstVerb{/laststate [3 15 1] def}% initial condition \multiframe{100}{rtZero=0+0.25,rtOne=0.25+0.25}{% t0, t1 \odesolve{lorenz.dat}{0 1 2}{\rtZero}{\rtOne}{26}{}{lorenz}% \pstVerb{/infile (lorenz.dat) (r) file def}% \parametricplotThreeD[plotstyle=line,xPlotpoints=26](0,0){infile 80 string readline pop cvx exec}% }% - \newframe% + \newframe% required between two \multiframe \odesolve{lorenz.dat}{0 1 2}{0}{25}{2501}{3 15 1}{lorenz}% \multiframe{90}{rAlpha=116+-4}{% \psset{Alpha=\rAlpha,Beta=20}% |