Re: [NTG-context] Animation captions (was: error in animation)
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
Dear Woldgang, I searched \definepairedbox and found several discussions as following: http://www.ntg.nl/pipermail/ntg-context/2005/014315.html https://www.mail-archive.com/ntg-context@ntg.nl/msg71401.html In the above examples, it took a long sentences as a caption while my example don’t allow multiple lines. I inserted \crlf but it is not working. The difference is that “side by side”(example above) and “top and bottom”(example below). Is there a way of allowing multiple lines? Thank you. Best regards, Dalyoung \usemodule[animation] \useMPlibrary[dum] \setupinteraction[state=start] \definepairedbox[animationtext][location=top,align=middle] \starttext \startanimation {\placeanimationtext{A long long long long long long long long long \crlf long long long long long long long long long long long long long long long long long long long long long caption}{\externalfigure[dummy]}} {\placeanimationtext{The letter b}{\externalfigure[dummy]}} {\placeanimationtext{The letter c}{\externalfigure[dummy]}} {\placeanimationtext{The letter d}{\externalfigure[dummy]}} \stopanimation \stoptext
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 08.10.2014 um 05:19 schrieb Jeong Dal
Dear Woldgang,
I searched \definepairedbox and found several discussions as following:
http://www.ntg.nl/pipermail/ntg-context/2005/014315.html https://www.mail-archive.com/ntg-context@ntg.nl/msg71401.html
In the above examples, it took a long sentences as a caption while my example don’t allow multiple lines. I inserted \crlf but it is not working.
The difference is that “side by side”(example above) and “top and bottom”(example below).
Is there a way of allowing multiple lines?
I mixed up the order of arguments, the text goes into the second argument and the figure etc. is put into the first argument, e.g. \useMPlibrary[dum] \starttext \placelegend{\externalfigure[dummy][width=8cm]}{\input ward } \blank \placelegend[width=\textwidth]{\externalfigure[dummy][width=8cm]}{\input ward } \stoptext Wolfgang
participants (2)
-
Jeong Dal
-
Wolfgang Schuster