Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 234:b797e4c0799a | 235:0d441c8a4712 |
|---|---|
| 180 BoldItalicFont = * Bold Italic, | 180 BoldItalicFont = * Bold Italic, |
| 181 ] | 181 ] |
| 182 \@mdf@mono@sscodetrue | 182 \@mdf@mono@sscodetrue |
| 183 \fi | 183 \fi |
| 184 \if@mdf@WithSpectral | 184 \if@mdf@WithSpectral |
| 185 \RequirePackage{unicode-math} | |
| 185 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}} | 186 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}} |
| 186 \setmainfont{Spectral}[ | 187 \setmainfont{Spectral}[ |
| 187 UprightFont = * Regular, | 188 UprightFont = * Regular, |
| 188 BoldFont = * Bold, | 189 BoldFont = * Bold, |
| 189 ItalicFont = * Italic, | 190 ItalicFont = * Italic, |
| 193 UprightFont = *, | 194 UprightFont = *, |
| 194 BoldFont = * Bold, | 195 BoldFont = * Bold, |
| 195 ItalicFont = * Italic, | 196 ItalicFont = * Italic, |
| 196 BoldItalicFont = * Bold Italic, | 197 BoldItalicFont = * Bold Italic, |
| 197 ] | 198 ] |
| 199 \setmathfont{STIX Two Math}[Scale=MatchLowercase] | |
| 198 \@mdf@mono@sscodetrue | 200 \@mdf@mono@sscodetrue |
| 199 \fi | 201 \fi |
| 200 \if@mdf@WithCharter | 202 \if@mdf@WithCharter |
| 201 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}} | 203 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}} |
| 202 \RequirePackage{xcharter-otf}% loads also XCharter Math | 204 \RequirePackage{xcharter-otf}% loads also XCharter Math |
