Changes

Jump to navigation Jump to search
; #1. Give a name to the set of fonts you want to use and indicate a first font with {{cmd|definefontfamily}}
:* Let's start with a Serif font, for which TeX practice is to refer to them as '''roman''' (=rm)
:* here, '''it's not the typescript name''' that we have to use, but the '''family name''' of the font.:*<texcode>\definefontfamily[MyFontIdentifier][rm][theseriffontnicknamefamilynameoftheseriffont]</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][thesansseriffontnicknamefamilynameofthesansseriffont]</texcode>:* <texcode>\definefontfamily[MyFontIdentifier][tt][themonospacedfontnicknamefamilynameofthemonospacedfont]</texcode>:* <texcode>\definefontfamily[MyFontIdentifier][mm][themathfontnicknamefamilynameofthemathfont]</texcode>
; #3. Declare your font family as the default for your document with {{cmd|setupbodyfont}}
:* <texcode>\setupbodyfont[MyFontIdentifier]</texcode>

Navigation menu