Skip to content

Commit

Permalink
配置数学字体样式为ISO样式
Browse files Browse the repository at this point in the history
  • Loading branch information
note286 committed Dec 27, 2021
1 parent bbcda22 commit f8f81ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xdupgthesis.cls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{xdupgthesis}[2021/12/26 Xidian University Postgraduate Thesis document class, version 0.2.48, modified by @note286, published in https://note286.github.io/xdupgthesis/]
\ProvidesClass{xdupgthesis}[2021/12/27 Xidian University Postgraduate Thesis document class, version 0.2.49, modified by @note286, published in https://note286.github.io/xdupgthesis/]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% class and packages
Expand Down Expand Up @@ -95,13 +95,13 @@
BoldItalicFont=timesbi.ttf]
\ifXDU@Option@mftgtm
\RequirePackage{unicode-math}
\setmathfont{TeX Gyre Termes Math}
\setmathfont{TeX Gyre Termes Math}[math-style=ISO,bold-style=ISO]
\renewcommand{\bm}[1]{\symbf{#1}}
\else
\ifXDU@Option@mfcm
\else
\RequirePackage{unicode-math}
\setmathfont{cambria.ttc}[Path=fonts/,FontIndex=1]
\setmathfont{cambria.ttc}[Path=fonts/,FontIndex=1,math-style=ISO,bold-style=ISO]
\renewcommand{\bm}[1]{\symbf{#1}}
\fi
\fi}
Expand All @@ -117,13 +117,13 @@
BoldItalicFont={KaiTi},BoldItalicFeatures={FakeBold=\FakeBoldValue}]
\ifXDU@Option@mftgtm
\RequirePackage{unicode-math}
\setmathfont{texgyretermes-math.otf}
\setmathfont{texgyretermes-math.otf}[math-style=ISO,bold-style=ISO]
\renewcommand{\bm}[1]{\symbf{#1}}
\else
\ifXDU@Option@mfcm
\else
\RequirePackage{unicode-math}
\setmathfont{Cambria Math}
\setmathfont{Cambria Math}[math-style=ISO,bold-style=ISO]
\renewcommand{\bm}[1]{\symbf{#1}}
\fi
\fi}
Expand Down

0 comments on commit f8f81ae

Please sign in to comment.