Changes

Jump to navigation Jump to search
72 bytes added ,  19:27, 27 September 2013
fixed terminology "family", "style", and "alternative" to be consistent with the ref manual, ch. 5
* a complete font change ({{cmd|setupbodyfont}}, {{cmd|switchtobodyfont}}).
== Font styles and alternatives ==
There are three main types of font familiesstyles: serif, sans serif, and teletype. Toswitch between these familiesstyles, use {{cmd|rm}} for serif, {{cmd|ss}} for
sans serif, and {{cmd|tt}} for teletype.
Each of these families come styles comes in different stylesalternatives: uprightnormal, bold, italic,
slanted, bold-italic, bold-slanted, and small-capped. To switch to a different
stylealternative, use {{cmd|tf}} ("typeface") for uprightnormal, {{cmd|bf}} for bold, {{cmd|it}}
for italic, {{cmd|sl}} for slanted, {{cmd|bi}} for bold-italic,
{{cmd|bs}} for bold-slanted, and {{cmd|sc}} for small-capped.
You can generally combine font families and font styleswith alternatives, so if you want to
switch to bold sans serif, you can use either <code>\bf\ss</code> or
<code>\ss\bf</code>.
There is a font switch {{cmd|em}} to ''emphasize'' text. This is somewhat
special: it does automatic italic correction and changes the style alternative dependingon the current font stylealternative. For example, if the current font style alternative is normal (i.e. upright),{{cmd|em}} switches to slanted; and if the current font style alternative is slanted,{{cmd|em}} switches to uprightnormal.
ConTeXt uses the Latin Modern fonts by default; these fonts look
53

edits

Navigation menu