[NTG-context] Change of font size affects header text size, too

Hans Hagen pragma at wxs.nl
Thu Feb 8 12:52:58 CET 2018


On 2/8/2018 12:14 PM, Procházka Lukáš Ing. wrote:
> Hello,
> 
> in the following example:
> 
> ----
> \setupheadertexts[Left][Right]
> 
> \starttext
>    Aaa
> 
>    \page
> 
>    \startsection[title={Sec}]
>      \start
>        \setupbodyfont[6pt]
>        \dorecurse{12}{\input knuth}
>      \stop
>    \stopsection
> \stoptext
> ----
> 
> header text size on page #2 is small (6 pt) although body font change 
> was intended only to text inside section "Sec" -
> thus the text "\input knuth" is surrounded by \start ... \stop.
> 
> How to change the bodyfont size of the running text only (ad-hoc in the 
> middle of the document), without changing header text size?
\switchtobodyfont


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


More information about the ntg-context mailing list