Change of font size affects header text size, too
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? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396
Procházka Lukáš Ing. mailto:LPr@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
Hello,
thanks both for quick answer.
Best regards,
Lukas
On Thu, 08 Feb 2018 12:49:53 +0100, Wolfgang Schuster
Procházka Lukáš Ing. mailto:LPr@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@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Procházka Lukáš Ing.
-
Wolfgang Schuster