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

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Feb 8 12:49:53 CET 2018


> Procházka Lukáš Ing. <mailto:LPr at pontex.cz>
> 8. Februar 2018 um 12:14
> 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?

Use \switchtobodyfont[6pt].

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180208/fdecb345/attachment-0001.html>


More information about the ntg-context mailing list