Difference between revisions of "Command/definedfont"

From Wiki
Jump to navigation Jump to search
(Created \definedfont)
 
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated)] ==
 +
<syntax>definedfont</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 02:00, 13 October 2019

\definedfont

Syntax (autogenerated)]

\definedfont[...]
[...]font


Syntax

\definefont[...]
[...] identifier


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!

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: