Difference between revisions of "Command/setff"

From Wiki
Jump to navigation Jump to search
(Add deprecation warning)
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>setff</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 15:02, 15 October 2019

\setff

Syntax (autogenerated)

Syntax

\setff{...}
{...} font feature name

Description

This command is deprecated! see Featuresets

\setff{myfontfeatureset} changes the set of font features to a set previously defined with \definefontfeature[myfontfeatureset]{...}. The set remains active until the end of the current scope.

Example

\definefontfeature[smallcapitals] [smcp=yes]
\definefontfeature[oldstylenumber][onum=yes]

\setupbodyfont[pagella]

\starttext

% kerning is active by default
% but not in the smallcapitals set, so \setff turns it off
{VA abc \setff{smallcapitals} VA abc}

% kerning is active by default
% \addff adds the features in the smallcapitals set; kerning remains on
{VA abc \addff{smallcapitals} VA abc}

{12345 \setff{oldstylenumber} 12345}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: