Difference between revisions of "Command/switchtobodyfont"

From ConTeXt wiki
Jump to navigationJump to search
m (cleanup)
 
(20 intermediate revisions by 7 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>switchtobodyfont</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 18: Line 21:
 
== Description ==  
 
== Description ==  
  
 +
Use {{cmd|setupbodyfont}} to change the font size for whole document, {{cmd|switchtobodyfont}} doesn’t change the size for the header/footer.
 +
 +
== Example ==
 +
 +
<context source=yes>
  
 +
\switchtobodyfont[pagella,small]
 +
\input ward
  
== Example ==
+
</context>
<!-- Please fill in an example if you can -->
 
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
 +
[[Font_Switching]]
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|switchtobodyfont]]
+
[[Category:Command/Fonts|switchtobodyfont]]

Latest revision as of 19:40, 13 January 2020

\switchtobodyfont

Syntax (autogenerated)

\switchtobodyfont[...,...]
[...,...]inherits from \setupbodyfont


Syntax

\switchtobodyfont[...,...,...]
[...,...,...] 5pt ... 12pt small big global


Description

Use \setupbodyfont to change the font size for whole document, \switchtobodyfont doesn’t change the size for the header/footer.

Example


\switchtobodyfont[pagella,small]
\input ward

See also

Font_Switching

Help from ConTeXt-Mailinglist/Forum

All issues with: