Difference between revisions of "Command/setupbodyfont"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
m (Make clear 'name' is a typescript name)
Line 11: Line 11:
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
 
     <td class="cmd">[...,...,...]</td>
 
     <td class="cmd">[...,...,...]</td>
     <td>name serif regular roman sans support sansserif mono type teletype handwritten calligraphic 5pt ... 12pt </td>
+
     <td>''typescript name'' serif regular roman sans support sansserif mono type teletype handwritten calligraphic 5pt ... 12pt </td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
Line 18: Line 18:
 
== Description ==  
 
== Description ==  
  
Use \setupbodyfont to change the font size for whole document; {{cmd|switchtobodyfont}} doesn’t change the size for the header/footer.
+
Use \setupbodyfont to set the base font, variant, and size for whole document. Header sizes are derived from the body font size. {{cmd|switchtobodyfont}} doesn’t change the size for the header/footer.
  
 
== Example ==
 
== Example ==

Revision as of 14:17, 22 November 2012

\setupbodyfont

Syntax

\setupbodyfont[...,...,...]
[...,...,...] typescript name serif regular roman sans support sansserif mono type teletype handwritten calligraphic 5pt ... 12pt


Description

Use \setupbodyfont to set the base font, variant, and size for whole document. Header sizes are derived from the body font size. \switchtobodyfont doesn’t change the size for the header/footer.

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: