ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Change of font size affects header text size, too
@ 2018-02-08 11:14 Procházka Lukáš Ing.
  2018-02-08 11:49 ` Wolfgang Schuster
  2018-02-08 11:52 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Procházka Lukáš Ing. @ 2018-02-08 11:14 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

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

[-- Attachment #2: HdrSz.mkiv --]
[-- Type: application/octet-stream, Size: 209 bytes --]

\setupheadertexts[Left][Right]

\starttext
  Aaa

  \page

  \startsection[title={Sec}]
    \start
      \setupbodyfont[6pt]
      \dorecurse{12}{\input knuth}
    \stop
  \stopsection
\stoptext

[-- Attachment #3: HdrSz.pdf --]
[-- Type: application/pdf, Size: 16846 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-08 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-08 11:14 Change of font size affects header text size, too Procházka Lukáš Ing.
2018-02-08 11:49 ` Wolfgang Schuster
2018-02-08 12:11   ` Procházka Lukáš Ing.
2018-02-08 11:52 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).