Skip to content

Commit

Permalink
update support
Browse files Browse the repository at this point in the history
  • Loading branch information
mengchaoheng committed Dec 19, 2024
1 parent 5d81510 commit ab193bc
Show file tree
Hide file tree
Showing 7 changed files with 277 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scutthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
%\punctstyle{kaiming}
\setmainfont[Mapping=tex-text]{Times New Roman}%\rmfamily 使用的字体,默认英文和数字的字体。% setmainfont是 fontspec 宏包中的一个命令,用于设置 LaTeX 文档中的主字体(即英文部分的主要字体)。setmainfont 用于设置正文中的英文字体。它会影响所有非数学、非 CJK(中文、日文、韩文)字符的字体。
% 若对默认数学公式字体不满意,启用下面三条命令,否则注释掉(此时是采用久经验证可行的默认字体)。实际上就两条(引入unicode-math包并使用setmathfont命令设置字体)
\usepackage{unicode-math} % 引入后一些符号仍需要amssymb和amsmath,但可以不需要mathrsfs。引入unicode-math后,很多符号,加粗的命令都变了,需要好好看包文档。
\setmathfont{XITS Math}
% \usepackage{unicode-math} % 引入后一些符号仍需要amssymb和amsmath,但可以不需要mathrsfs。引入unicode-math后,很多符号,加粗的命令都变了,需要好好看包文档。
% \setmathfont{XITS Math} % 注释掉就是unicode-math默认的,和latex默认的也不同,具体看文档。
% \setmathfont{XITS Math}[range={cal, bfcal}, StylisticSet=1] %为解决花体问题引入。

\XeTeXlinebreaklocale "zh" %采用中文断行方式
Expand Down
Binary file modified scutthesis.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions scutthesis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
\include{subcontent/chapter02}%第二章
\include{subcontent/chapter03}%第三章
\include{subcontent/chapter04}
\include{subcontent/chapter05}
% 自行根据需要添加章节。

\backmatter %章节不编号但页码继续
Expand Down
274 changes: 273 additions & 1 deletion subcontent/chapter05.tex

Large diffs are not rendered by default.

Binary file modified test.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion test.tex
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
\bottomrule
\end{tabular}

再次写入英文字母进行测试,用于和word文件test对比
再次写入英文字母进行测试,用于和word文件 testword.docx 对比

文本小写字母:

Expand Down
Binary file added testword.docx
Binary file not shown.

0 comments on commit ab193bc

Please sign in to comment.