Re: [NTG-context] ntg-context Digest, Vol 87, Issue 51
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
This doesn't work for me. Setupcaption doesn't appear to support a label option (MKIV and assuming I'm looking at the correct source file...) Felix
Am 23.09.2011 um 12:45 schrieb Felix Ingram:
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
This doesn't work for me. Setupcaption doesn't appear to support a label option (MKIV and assuming I'm looking at the correct source file…)
Use “\setuplabeltext[picture=Picture ]”. Wolfgang
participants (2)
-
Felix Ingram
-
Wolfgang Schuster