Changes

Jump to navigation Jump to search
1,251 bytes added ,  14:22, 28 November 2012
Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd..."
{{Reference
|name=setff
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setff<!--
--><span class="first">{...}</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">{...}</td>
<td>''font feature name''</td>
</tr>
</table>

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

== Example ==
<context source=yes>
\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}
</context>

== See also ==

* {{cmd|setff}}
* {{cmd|addff}}
* {{cmd|definefontfeature}}

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|setff}}

[[Category:Commands|setff]]

Navigation menu