Commit 17feae96 authored by liziwl's avatar liziwl
Browse files

update math-font

parent 77a74760
Loading
Loading
Loading
Loading

fonts/CambriaMath.otf

0 → 100644
+2.51 MiB

File added.

No diff preview for this file type.

+5 −1
Original line number Diff line number Diff line
@@ -1223,13 +1223,14 @@
  math-font = {
    name = math@font,
    choices = {
      cambria,
      xits,
      stix,
      libertinus,
      lm,
      none,
    },
    default = xits,
    default = cambria,
  },
%    \end{macrocode}
%
@@ -1790,6 +1791,9 @@
\newcommand\thu@load@math@font@lm{%
  \setmathfont{latinmodern-math.otf}%
}
\newcommand\thu@load@math@font@cambria{%
  \setmathfont[Path = "fonts/"]{CambriaMath.otf}%
}
\newcommand\thu@load@math@font{%
  \@nameuse{thu@load@math@font@\thu@math@font}
}