setup/switchtobodyfont question
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 ? -- Best, Alan * TeX engine = LuaTeX * ConTeXt minimal ver: 2008.11.10 21:40 MKIV fmt: 2008.11.25 int: english/english * Ubuntu 8.04 Hardy Heron
Same question related to setuplayout.
On Wed, Nov 26, 2008 at 12:43 PM, 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 ?
-- Best, Alan
* TeX engine = LuaTeX * ConTeXt minimal ver: 2008.11.10 21:40 MKIV fmt: 2008.11.25 int: english/english * Ubuntu 8.04 Hardy Heron
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: \setupbodyfont[cmr,ams,12pt,roman] This command affects the document as a whole: text, headers and footers. The second macro however affects only the text: \switchtobodyfont[10pt] Both macros look alike. The second one also has to take all kind of keywords into account. Wolfgang
participants (2)
-
Alan STONE
-
Wolfgang Schuster