summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
index e2c7480e607..de6034ff2cd 100644
--- a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
+++ b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
@@ -84,8 +84,9 @@ LibertinusMath-Regular.otf
\end{verbatim}
-With the package \Lpack{libertinus-otf} the serif, sans, mono, and math fonts are set
-as usual:
+With the package \Lpack{libertinus-otf} the serif, sans, mono, and the math fonts are set
+as usual. With the optional argument \verb|nomath| there will be no loading of package
+\verb|unicode-math| and no math font setting.
\begin{verbatim}
@@ -233,8 +234,14 @@ as usual:
Extension = .otf,
]
-\setmathfont{LibertinusMath-Regular.otf}
-\setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
+
+\iflibertinus@nomath\else
+ \typeout{*************************************^^J%
+ * Using libertinus math *^^J%
+ *************************************}%
+ \setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf]
+ \setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
+\fi
\newfontfamily\LibertinusKeyboard{libertinuskeyboard-regular.otf}
\newfontfamily\LibertinusDisplay{libertinusserifdisplay-regular.otf}
@@ -561,6 +568,7 @@ Taka Albo tace Usta pęk ucha.
\normalfont\normalsize
\selectlanguage{english}
+\clearpage
\section{Features}