[NTG-context] setup/switchtobodyfont question

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Nov 26 16:24:40 CET 2008

Am 26.11.2008 um 12:43 schrieb Alan STONE:

> The main manual mentions (ch 5 Typography, pg 92):
> "In most cases, the command \setupbodyfont is only used once: in the  
> styledefinition.
> Fontswitching is done with \switchtobodyfont. Don't mix these two up  
> because this may
> lead to some rather strange but legitimate effects."
> What's recommended when using a product meta-structure  
> (standardmakeup-frontmatter-
> bodypart-appendices-backmatter) where the bodyfont (and in some  
> cases also the top,
> header, footer, bottom fonts change) from one to the other ?
> Declare one (1) setupbodyfont and switchtobodyfont from one meta- 
> structure element to the
> other or use a dedicated setupbodyfont for each ?

 From font-ini:

The next two macros are user ones. With \setupbodyfont
one can set the document bodyfont size, font family, style
and/or options defined in files, for example:


This command affects the document as a whole: text, headers
and footers. The second macro however affects only the text:


Both macros look alike. The second one also has to take
all kind of keywords into account.


More information about the ntg-context mailing list