Difference between revisions of "Command/setfontfeature"
< Command
Jump to navigation
Jump to search
(new) |
m (fix typo) |
||
Line 15: | Line 15: | ||
</cd:description> | </cd:description> | ||
<cd:examples><cd:example title="different possibilities to activate small caps"><context source="yes"> | <cd:examples><cd:example title="different possibilities to activate small caps"><context source="yes"> | ||
− | \def\Example{\tf Upright, {\it Italics,} {\bf Bold} | + | \def\Example{\tf Upright, {\it Italics,} {\bf Bold} and {\bi Bold Italics.}\par} |
\setupbodyfont[libertinus,rm,12pt] | \setupbodyfont[libertinus,rm,12pt] | ||
Latest revision as of 22:29, 3 November 2023
Contents
\setfontfeature
Summary
The command \setfontfeature is used to activate a defined font feature (OpenType or virtual).
Settings
Description
Examples
different possibilities to activate small caps
\def\Example{\tf Upright, {\it Italics,} {\bf Bold} and {\bi Bold Italics.}\par} \setupbodyfont[libertinus,rm,12pt] \Example {\setfontfeature{smallcaps}\Example} \style[style=smallcaps]{\Example} {\setsmallcaps\Example}