Changes

Jump to navigation Jump to search
no edit summary
}}
= How to use more than one of mix the provided fonts =
; #1. Very similarly Give a name to abovethe set of fonts you want to use with {{cmd|definefontfamily}} and select a first font:* Let's start with a Serif font, for which TeX practice is to refer to them as '''roman''' (=rm):*<texcode>\definefontfamily[MyFontIdentifier][rm][theseriffontnickname]</texcode>; #2. For the other styles, just add more font in fonts to your font family.
:* for a Sans Serif font, for which TeX practice is to refer to them as '''Sans Serif''' (=ss)
:* <texcode>\definefontfamily[MyFontIdentifier][ss][refcode to the sans serif fontthesansseriffontnickname]</texcode>
:* for a monospaced font, for which TeX practice is to refer to them as '''TypewriTer''' (=tt)
:* <texcode>\definefontfamily[MyFontIdentifier][tt][refcode to the monospaced fontthemonospacedfontnickname]</texcode>
:* for a math font, for which TeX practice is to refer to them as '''MatheMatics''' (=mm)
:* <texcode>\definefontfamily[MyFontIdentifier][mm][refcode to the math fontthemathfontnickname]</texcode>
:* the limit is that in TeX practice, we only have one roman, one sans serif, per font family.
:* in order to use more (like variation condensed, extralight etc...) we have to define other font family (MyFontIdentifier-condensed, MyFontIdentifier-light)
; #3. Declare your font family as the default for your document with {{cmd|setupbodyfont}}
:* <texcode>\setupbodyfont[MyFontIdentifier]</texcode>
 
 
== Example ==

Navigation menu