Command/definedfont
< Command
Jump to navigation
Jump to search
\definedfont
Syntax
\definedfont[...] | |
[...] | font |
Description
This macro loads the font given in the identifier and immediately switches to that font. The identifier works in the same way as the second argument to \definefontsynonym: you can use either a font synonym or a real font.
Example
\definedfont[file:texgyrepagella-regular.otf at 72pt] Hello World!
Always use a feature set, otherwise your font might lack kerning:
\definedfont[Serif*default at 36pt]Serif with default features
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: