# HG changeset patch # User Franz Glasner # Date 1778881535 -7200 # Node ID 0d441c8a47128e2795cd8a7ed446e13c3e9fa0b4 # Parent b797e4c0799a7014e1db31c6364bf282f5b8c3d6 Use "STIX Two Math" with "Spectral" diff -r b797e4c0799a -r 0d441c8a4712 docs/_latex/my-doc-fonts.sty --- a/docs/_latex/my-doc-fonts.sty Fri May 15 22:56:20 2026 +0200 +++ b/docs/_latex/my-doc-fonts.sty Fri May 15 23:45:35 2026 +0200 @@ -182,6 +182,7 @@ \@mdf@mono@sscodetrue \fi \if@mdf@WithSpectral + \RequirePackage{unicode-math} \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}} \setmainfont{Spectral}[ UprightFont = * Regular, @@ -195,6 +196,7 @@ ItalicFont = * Italic, BoldItalicFont = * Bold Italic, ] + \setmathfont{STIX Two Math}[Scale=MatchLowercase] \@mdf@mono@sscodetrue \fi \if@mdf@WithCharter