At 03:58 PM 9/12/2001 +0200, Marco Kuhlmann wrote:
>Hans Hagen wrote (2001-09-11 (18:36)):
>
> > no, you can use \definealternativestyle [see font-ini and bet
> > manual] to define a style that acts differently in normal text
> > and section headers
>
>I tried to accomplish that with ......

\starttext

\definefont[versface][Regular sa 3]

\definestartstop[xxx][style=versface]

\definealternativestyle [versface][\versface][\versface]

\section{Test \xxx{test}} {Test \xxx{test}}

\definealternativestyle [versface][\versface][]

\section{Test \xxx{test}} {Test \xxx{test}}

\stoptext

So, the second arg specifies the style to use in headers.

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