Difference between revisions of "Command/switchtobodyfont"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(5 intermediate revisions by 4 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 21: Line 23:
  
 
== 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}} -->
 
<!-- something like {{cmd|goto}} -->
 +
[[Font_Switching]]
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

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: