Changes

Jump to navigation Jump to search
1,370 bytes added ,  22:55, 19 March 2013
Working towards a description of the new \feature commands. This is just a start; will complete it asap
{{note|This page is NOT finished yet}}

'''This page is at the very initial stages of development: Please do not change it unless you know the topic well!'''

[[LuaTeX]] and [[MkIV]] allow advanced usage and manipulation of [[Open Type]] <i>font features</i>. Some features, such as <i>oldstyle</i> and <i>smallcaps</i> are known to most users of Open Type fonts. More advanced OT fonts can have lots more, including the Stylistic Set feature <i>ss<nn></i> (where <i>nn</i> stands for any numeral between 01 and 99)

= Features in general =

<cmd>definefontfeature</cmd>

== Stacking and unstacking features ==

<cmd>feature</cmd>
<cmd>addfeature</cmd>
<cmd>subtractfeature</cmd>
<cmd>replacefeature</cmd>
<cmd>resetandaddfeature</cmd>
<cmd>revivefeature</cmd>
<cmd>resetfeature</cmd>

<texcode>
\addfeature [f:mine] \feature [more][f:mine] \feature[+][f:mine]
\subtractfeature [f:mine] \feature [less][f:mine] \feature[-][f:mine]
\replacefeature [f:mine] \feature [new][f:mine] \feature[=][f:mine]
\resetandaddfeature[f:mine] \feature[local][f:mine] \feature[!][f:mine]
\revivefeature [f:mine] \feature [old][f:mine] \feature[>][f:mine]
\resetfeature \feature[reset] \feature[<]
</texcode>

= References =
<references/>

[[Category:Fonts]]
[[Category:International]]
[[Category:LuaTeX]]

{{note|This page is NOT finished yet}}
67

edits

Navigation menu