At 11:33 AM 9/10/2001 +0200, Eckhart Guth�hrlein wrote:
>As I mentioned in an earlier posting, I have enabled hanging punctuation 
>by the following lines
>
>\usetypescript[serif,sans,mono][hanging][pure]
>\setupalign [hanging]
>\definetypeface [modern] [rm] [serif] [computer-modern] [default] 
>[handling=pure,encoding=ec]
>\definetypeface [modern] [mm] [math]  [computer-modern] [computer-modern] []
>\setupbodyfont[ams,modern]
>
>Everything works fine, except for the captions of my figures: no hanging 
>punctuation there. Why that, and what to do about it?

(1) hanging is turned off in general 'reset' situatations, so then you have 
to turn it on
(2) hanging does not work in hboxes and sometimes we use unhboxed hboxes

you can experiment with turning it on inside the caption.

>Another problem with fonts in captions: if I switch to a different font 
>size via

The following should demo what is possible

\starttext

\placefigure{test}{}

\setupcaptions
   [headstyle=\tfx\it]

\placefigure{test}{}

\setupcaptions
   [style=slanted,
    headstyle=boldslanted]

\placefigure{test}{}

\stoptext

So, there is also style

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to