Changes

Jump to navigation Jump to search
:* Let's start with a Serif font, for which TeX practice is to refer to them as '''rm''' for Roman
:* here, '''it's not the typescript name''' that we have to use, but the '''family name''' of the font (see under each [[ConTeXt distribution's Fonts|preview in the overview table]]).
 
<texcode>\definefontfamily[MyFontIdentifier][rm][familynameoftheseriffont]</texcode>
; #2. For the other styles, just add more fonts to your font family.
:* '''ss''' for Sans Serif, '''tt''' for TypewriTer, '''mm''' for MatheMatics.
:*:* <texcode>
\definefontfamily[MyFontIdentifier][ss][familynameofthesansseriffont]
\definefontfamily[MyFontIdentifier][tt][familynameofthemonospacedfont]
; #3. Declare your font family as the default for your document with {{cmd|setupbodyfont}}, as you would do for a typescript.
:* <texcode>\setupbodyfont[MyFontIdentifier]</texcode> 

Navigation menu