Professional Documents
Culture Documents
Dario Taraborelli - Accessing OpenType Font Features in LaTeX
Dario Taraborelli - Accessing OpenType Font Features in LaTeX
08. 28. Dario Taraborelli: Accessing OpenType font features in LaTeX
\addfontfeature{<font features>}
2. Ligatures
on by default, can be disabled with:
Standard Ligatures liga Ligatures=Common
NoCommon
on by default, can be disabled with:
Required Ligatures rlig Ligatures=Required
NoRequired
on by default, can be disabled with:
Contextual Ligatures clig Ligatures=Contextual
NoContextual
Discretionary
dlig Ligatures=Rare
Ligatures
Historical Ligatures hlig Ligatures=Historical
3. Letters
All Caps case Letters=Uppercase
http://nitens.org/taraborelli/TeXOpenType 1/3
2016. 08. 28. Dario Taraborelli: Accessing OpenType font features in LaTeX
4. Contextuals
Contextual Swash cswh Contextuals=Swash
5. Vertical Position
Superscript sups VerticalPosition=Superior
6. Fractions
Numerator numr VerticalPosition=Numerator
8. Diacritics
on by default, can be disabled with:
Mark Positioning mark Diacritics=MarkToBase
NoMarkToBase
Mark-to-mark on by default, can be disabled with:
mkmk Diacritics=MarkToMark
Positioning NoMarkToMark
9. Kerning
Uppercase kerning cpsp Kerning=Uppercase
on by default, can be disabled with:
Regular kerning kern Kerning=On
Off
Notes
Further information about script-specific OpenType features controlling CJK shape, Character width
and Vertical typesetting can be found in section 10 of the fontspec documentation.
http://nitens.org/taraborelli/TeXOpenType 2/3
2016. 08. 28. Dario Taraborelli: Accessing OpenType font features in LaTeX
Additional OpenType features for which fontspec does not provide an interface can be manually
accessed, as described in section Part 4, section 14 of the fontspec documentation.
See also
The Beauty of LaTeX. Why should you use LATEX instead of an ordinary word processor? Here is a
tentative answer comparing their typographic accuracy.
nitens.org
http://nitens.org/taraborelli/TeXOpenType 3/3