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

Procházka Lukáš Ing. LPr at pontex.cz
Thu Feb 8 13:11:53 CET 2018


Hello,

thanks both for quick answer.

Best regards,

Lukas


On Thu, 08 Feb 2018 12:49:53 +0100, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:

>
>> 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
>


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396



More information about the ntg-context mailing list