Difference between revisions of "Command/switchtobodyfont"

From ConTeXt wiki
m (Text replace - "Reference/en|" to "Commands|")
 
(16 intermediate revisions by 6 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>switchtobodyfont</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 18: Line 20:
 
== Description ==  
 
== Description ==  
  
Use [[cmd:setupbodyfont|\setupbodyfont]] to change the font size for whole document, [[cmd:switchtobodyfont|\switchtobodyfont]] doesn’t change the size for the header/footer.
+
Use {{cmd|setupbodyfont}} to change the font size for whole document, {{cmd|switchtobodyfont}} doesn’t change the size for the header/footer.
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
 
 +
<context source=yes>
 +
 
 +
\switchtobodyfont[pagella,small]
 +
\input ward
 +
 
 +
</context>
  
 
== 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:Commands|switchtobodyfont]]
+
[[Category:Command/Fonts|switchtobodyfont]]

Latest revision as of 15:02, 15 October 2019

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