Difference between revisions of "Command/definefontfeature"

From Wiki
Jump to navigation Jump to search
(Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd...")
Line 68: Line 68:

Revision as of 14:53, 28 November 2012



[...] name of new featureset
[...] name of featureset to inherit from
[...=...] feature=yes,feature=no,...


Define a font feature set as a collection of OTF font features turned on or off. A font feature set can be activated with \setff or \addff. To modify an existing font feature set, use \definefontfeature; that way, the OTF features you (in)activate are added to the ones already in the set.


Add onum=yes to the default feature set:




Make a new feature set that sets onum=yes, and activate it next to the active set with \addff:



1234567890 {\addff{oldstyle}1234567890}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: