Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/_latex/my-doc-fonts.sty @ 223:b902b1360991
Use xcharter-otf.sty instead of \setmainfont{XCharter} because it automatically loads the XCharter Math font
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 15 May 2026 19:25:53 +0200 |
| parents | be0cca3df1eb |
| children | eb3d0ae3143b |
line wrap: on
line diff
--- a/docs/_latex/my-doc-fonts.sty Fri May 15 18:32:07 2026 +0200 +++ b/docs/_latex/my-doc-fonts.sty Fri May 15 19:25:53 2026 +0200 @@ -168,7 +168,7 @@ \fi \if@mdf@WithCharter \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}} - \setmainfont{XCharter} + \RequirePackage{xcharter-otf}% loads also XCharter Math \setsansfont{Lato}[ UprightFont = * Regular, BoldFont = * Bold,
