[latex3-commits] [git/LaTeX3-latex3-fontspec] variable: Document Instance key (cf390ff)
Marcel Fabian Krüger
tex at 2krueger.de
Thu Jun 23 14:10:21 CEST 2022
Repository : https://github.com/latex3/fontspec
On branch : variable
Link : https://github.com/latex3/fontspec/commit/cf390ffc3d2f232410f0429c4b6b742d15a7d5b9
>---------------------------------------------------------------
commit cf390ffc3d2f232410f0429c4b6b742d15a7d5b9
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu Jun 23 14:10:21 2022 +0200
Document Instance key
>---------------------------------------------------------------
cf390ffc3d2f232410f0429c4b6b742d15a7d5b9
fontspec-doc-featset.tex | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/fontspec-doc-featset.tex b/fontspec-doc-featset.tex
index 1a8f2ed..7ef96f7 100644
--- a/fontspec-doc-featset.tex
+++ b/fontspec-doc-featset.tex
@@ -683,6 +683,15 @@ Than their value can be set with the \feat{RawAxis} feature:
Regular contrast \\
\end{Verbatim}
+\subsection{Instances} \label{sec:variable-instances}
+Instead of manually setting axis values, many fonts contain named instances which are predefined settings of all axes.
+
+To select such an instance, the \feat{Instance} feature can be used:
+\begin{Verbatim}
+ \fontspec{Noto Serif}[Instance=ExtraCondensed Bold]
+ This is in extra condensed bold.
+\end{Verbatim}
+
\end{document}
% /©
More information about the latex3-commits
mailing list.