Commit 8f90d990 authored by liziwl's avatar liziwl
Browse files

更新配置文档

parent 4dfe5c8e
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
@@ -109,19 +109,24 @@

\section{数学字体}

按照《撰写规范》全文统一采用 Xits Math 或 Cambria Math 中一种字体作为表达式字体即可。
按照《撰写规范》全文统一采用 Cambria Math (MS Word默认字体)或 Xits Math 中一种字体作为表达式字体即可。

Cambria Math 字体样例:

\thusetup{math-font = cambria}
\makeatletter
\thu@load@math@font@cambria
\begin{equation}
  f(x)=a_0+ \sum_{n=1}^{\infty}   \left(  a_n\ \cos \frac{n\pi x}{L} +b_n  \sin\frac{n\pi x}{L}   \right)
  \frac{1}{2 \uppi \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k)
  \label{eq:example}
\end{equation}
\makeatother

Xits Math 字体样例:
\thusetup{math-font = xits}
\makeatletter
\thu@load@math@font@xits
\begin{equation}
  f(x)=a_0+ \sum_{n=1}^{\infty}   \left(  a_n\ \cos \frac{n\pi x}{L} +b_n  \sin\frac{n\pi x}{L}   \right)
  \frac{1}{2 \uppi \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k)
  \label{eq:example}
\end{equation}

\thusetup{math-font = cambria}
\thu@load@math@font@cambria
\makeatother
+7 −0
Original line number Diff line number Diff line
@@ -84,6 +84,13 @@
  intclassifiedindex={xx-x},
}

\thusetup{
  %
  % 数学字体
  % math-style = GB,  % GB (中文默认) | TeX (英文默认)
  math-font  = cambria,  % (默认,同 Word 默认数学字体一致) | xits (TeX 内常用数学字体)
}

% 载入所需的宏包

% 可以使用 nomencl 生成符号和缩略语说明
+1 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
% !TeX program = xelatex
% !TeX spellcheck = en_US

\documentclass[degree=master,language=chinese,cjk-font=external,math-font=cambria]{sustechthesis}
\documentclass[degree=master,language=chinese,cjk-font=external]{sustechthesis}
  % 学位 degree:
  %   master (默认) | doctor
  % 语言 language:
@@ -12,8 +12,6 @@
  %   在 **非Windows** 的系统上推荐使用包内字体,而非系统字体。
  %   以达到和 Windows 系统上显示的字体效果。
  %   Windows 系统上可以删除该参数,使用系统内置字体。
  % 数学字体 math-font
  %   cambria (默认,同 Word 默认数学字体一致) | xits (TeX 内常用数学字体) 等。


% 论文基本配置,加载宏包等全局配置