880 bytes added
, 04:56, 4 April 2017
{{Reference
|name=definedfont
|attributes=
}}
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\definefont<span class="first" >[...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td>identifier</td>
</tr>
</table>
== 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 {{cmd|definefontsynonym}}: you can use either a font synonym or a real font.
== Example ==
<texcode>
\definedfont[file:texgyrepagella-regular.otf at 72pt] Hello World!
</texcode>
== See also ==
* {{cmd|definefont}}
* {{cmd|definefontsynonym}}
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}
[[Category:Command/Fonts|definedfont]]