mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 04:31:11 -06:00
Use a sans-serif math font for pgfplots
pgfplots uses math fonts for graphs ticks... and it looks weird when building sans serif. Not sure Fira is necessarily a great choice with open-sans but we have very little math so that should do...
This commit is contained in:
@@ -52,8 +52,9 @@
|
|||||||
\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont}
|
\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont}
|
||||||
% Fonts for accessibility
|
% Fonts for accessibility
|
||||||
\ifdefined\isaccessible
|
\ifdefined\isaccessible
|
||||||
\setmainfont{Open Sans}[
|
\usepackage[mathrm=sym]{unicode-math}
|
||||||
Scale=MatchLowercase]
|
\setmathfont{Fira Math}[Scale=MatchLowercase]
|
||||||
|
\setmainfont{Open Sans}[Scale=MatchLowercase]
|
||||||
\else
|
\else
|
||||||
\setmainfont{TeX Gyre Pagella}[Scale=1.0] % Or Palatino Linotype, etc.
|
\setmainfont{TeX Gyre Pagella}[Scale=1.0] % Or Palatino Linotype, etc.
|
||||||
% TODO not available on github CI
|
% TODO not available on github CI
|
||||||
|
|||||||
Reference in New Issue
Block a user