Difference between revisions of "Command/switchtobodyfont"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Reference/en|" to "Commands|")
 
(17 intermediate revisions by 6 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|\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 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: