ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Animation captions (was: error in animation)
Date: Sun, 5 Oct 2014 18:47:23 +0200	[thread overview]
Message-ID: <F2EB773B-4076-409C-8056-4707448A7B6E@gmail.com> (raw)
In-Reply-To: <DBAC4AF7-ABE9-4744-8583-DAD21BFCEA39@me.com>


Am 05.10.2014 um 14:06 schrieb Jeong Dal <haksan@me.com>:

> Dear Wolfgang,
> 
> I am using animation feature frequently for the class materials.
> It is very convenient to use \startanimation … \stopaimation.
> It reduces many steps which I have to define.
> Thank you for a nice module.
> 
> I’d like to ask you to add caption feature like \startcombination.
> 
> When I show the figures one by one, it is better to put a caption sometimes.
> If you think that it is not too bad, would you please concern to add the feature?

You can use the pairedbox mechanism to add a caption to each frame.

\usemodule[animation]

\setupinteraction[state=start]

\definepairedbox[animationtext][location=top,align=middle]

\starttext

\startanimation
  {\placeanimationtext{The letter a}{\ttd A}}
  {\placeanimationtext{The letter b}{\ttd B}}
  {\placeanimationtext{The letter c}{\ttd C}}
  {\placeanimationtext{The letter d}{\ttd D}}
\stopanimation

\stoptext

BTW: Start a new thread when you have a separate question next time.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-10-05 16:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.18.1412241525.2277.ntg-context@ntg.nl>
2014-10-02 14:41 ` error in animation Jeong Dal
2014-10-03 14:06 ` Jeong Dal
2014-10-05 12:06   ` Jeong Dal
2014-10-05 16:47     ` Wolfgang Schuster [this message]
     [not found] <mailman.42.1412544508.2277.ntg-context@ntg.nl>
2014-10-06  2:33 ` Animation captions (was: error in animation) Jeong Dal
2014-10-06  7:51   ` Henning Hraban Ramm
2014-10-06  8:29   ` Otared Kavian
     [not found] <mailman.44.1412584190.2277.ntg-context@ntg.nl>
2014-10-06 12:36 ` Jeong Dal
2014-10-08  3:19 ` Jeong Dal
2014-10-08  7:37   ` Wolfgang Schuster
     [not found] <mailman.56.1412631186.2277.ntg-context@ntg.nl>
2014-10-08 14:37 ` Jeong Dal
2014-10-08 14:37 ` Jeong Dal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F2EB773B-4076-409C-8056-4707448A7B6E@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).