diff options
Diffstat (limited to 'macros/latex/contrib/thuthesis/thusetup.tex')
-rw-r--r-- | macros/latex/contrib/thuthesis/thusetup.tex | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/macros/latex/contrib/thuthesis/thusetup.tex b/macros/latex/contrib/thuthesis/thusetup.tex index 26254e2325..894762e178 100644 --- a/macros/latex/contrib/thuthesis/thusetup.tex +++ b/macros/latex/contrib/thuthesis/thusetup.tex @@ -77,8 +77,8 @@ % % 联合指导教师 % - % joint-supervisor = {某某某, 教授}, - % joint-supervisor* = {Professor Mou Moumou}, + % co-supervisor = {某某某, 教授}, + % co-supervisor* = {Professor Mou Moumou}, % % 日期 % 使用 ISO 格式;默认为当前时间 @@ -107,6 +107,18 @@ % 载入所需的宏包 +% 定理类环境宏包 +\usepackage{amsthm} +% 也可以使用 ntheorem +% \usepackage[amsmath,thmmarks,hyperref]{ntheorem} + +\thusetup{ + % + % 数学字体 + % math-style = GB, + math-font = xits, +} + % 可以使用 nomencl 生成符号和缩略语说明 % \usepackage{nomencl} % \makenomenclature @@ -117,20 +129,15 @@ % 表格中支持跨行 \usepackage{multirow} -% 固定宽度的表格。放在 hyperref 之前的话,tabularx 里的 footnote 显示不出来。 +% 固定宽度的表格。 % \usepackage{tabularx} % 跨页表格 -% \usepackage{longtable} +\usepackage{longtable} % 量和单位 \usepackage{siunitx} -% 定理类环境宏包 -\usepackage{amsthm} -% 也可以使用 ntheorem -% \usepackage[amsmath,thmmarks,hyperref]{ntheorem} - % 参考文献使用 BibTeX + natbib 宏包 % 顺序编码制 \usepackage[sort]{natbib} @@ -156,7 +163,16 @@ \graphicspath{{figures/}} % 数学命令 -\newcommand\dif{\mathop{}\!\mathrm{d}} % 微分符号 +\makeatletter +\newcommand\dif{% % 微分符号 + \mathop{}\!% + \ifthu@math@style@TeX + d% + \else + \mathrm{d}% + \fi +} +\makeatother % hyperref 宏包在最后调用 \usepackage{hyperref} |