ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Captions
@ 2011-09-22 22:10 Felix Ingram
  2011-09-23  1:16 ` Captions Hongwen Qiu
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Ingram @ 2011-09-22 22:10 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 472 bytes --]

(apologies if you see this twice - posted from wrong account earlier)

I'm defining a new float that I'd like to caption with its own label.
Something like:

\definefloat[picture][pictures]

I'd then like the caption to read:

Picture 1 - my caption text
Picture 2 - etc

At the moment I've used \setupcaption[picture][way=bytext] to sort out
the numbering but I cannot figure out how to do the label.

Any ideas?

(Apologies for lack of minimal - afk atm)

Felix


Felix

[-- Attachment #1.2: Type: text/html, Size: 10163 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Captions
  2011-09-22 22:10 Captions Felix Ingram
@ 2011-09-23  1:16 ` Hongwen Qiu
  0 siblings, 0 replies; 2+ messages in thread
From: Hongwen Qiu @ 2011-09-23  1:16 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]

On 09/23/2011 06:10 AM, Felix Ingram wrote:
> I'm defining a new float that I'd like to caption with its own label.
> Something like:
>
> \definefloat[picture][pictures]
>
> I'd then like the caption to read:
>
> Picture 1 - my caption text
> Picture 2 - etc
>
> At the moment I've used \setupcaption[picture][way=bytext] to sort out
> the numbering but I cannot figure out how to do the label.
\setupcaption[picture][way=bytext,label=Picture] does the trick

[-- Attachment #1.2: Type: text/html, Size: 7767 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-23  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 22:10 Captions Felix Ingram
2011-09-23  1:16 ` Captions Hongwen Qiu

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).