[NTG-context] Figure / table caption format

Hans Hagen pragma at wxs.nl
Wed Jul 27 23:09:20 CEST 2005


Taco Hoekwater wrote:

> Stefano wrote:
>
>> Hi,
>>
>> I've been looking into the various ConTeXt resources to figure out 
>> how to
>> place a colon between the figure number and the caption text within the
>> document, as follows:
>>
>> Figure 1:  This is a figure caption
>>
>> Unfortunately I have not yet found it and am wondering if anyone can 
>> provide
>> a clue as to how this is accomplished.  
>
>
> Weird ConTeXt hacks, issue #42:
>
>   \def\floatcaptionsuffix{:}
>
>> Also, how can I left justify the
>> caption text within the document as follows:
>>
>> Figure 1:  This is a figure caption
>>            that is too long to fit on            a single line of text
>>
>> Any help is appreciated ...
>
>
> Weird ConTeXt hacks, issue #43:
>
>   \placefigure[here]{\framed[location=top,align=justify,frame=off]
>                     {This is a\crlf hanging text}}{Image contents}
>
>   (This will wreak havoc on the List of Figures)

think chinese: (see lang-chi for examples) 

\starttext

\start \setuplabeltext[figure={figure\enspace,\thinspace:}] \placefigure{whatever}{} \stop

\stoptext



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list