Difference between revisions of "Command/setff"
< Command
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...") |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>setff</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 18: | Line 21: | ||
== Description == | == Description == | ||
+ | '''This command is deprecated!''' see [[Fonts/Featuresets]] | ||
+ | |||
{{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. | {{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. | ||
Line 45: | Line 50: | ||
* {{cmd|addff}} | * {{cmd|addff}} | ||
* {{cmd|definefontfeature}} | * {{cmd|definefontfeature}} | ||
+ | * [[Fonts/Featuresets]] | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
Line 50: | Line 56: | ||
{{Forum|setff}} | {{Forum|setff}} | ||
− | [[Category: | + | [[Category:Command/Fonts|setff]] |
+ | [[Category:Old_Content]] |
Latest revision as of 19:32, 17 May 2024
\setff
Syntax (autogenerated)
Syntax
\setff{...} | |
{...} | font feature name |
Description
This command is deprecated! see Fonts/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: