Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/_latex/my-doc-fonts.sty @ 235:0d441c8a4712
Use "STIX Two Math" with "Spectral"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 15 May 2026 23:45:35 +0200 |
| parents | b797e4c0799a |
| children | 28639bddddd0 |
line wrap: on
line diff
--- 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
