xtc-chen / UJS_Masterthesis

江苏大学硕士学位论文Latex模板

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] 模板的3个错误及解决方法

chianjin opened this issue · comments

1、newtx 字体冲突问题,导致 SimSun not found 错误。
解决方法:删除 newtxtex、newtxmath,改用 unicode-math 宏包,使用同为 Times 风格的 otf 字体:TeX Gyre Termes 或者 XITS

\setmainfont{TeX Gyre Termes}
\usepackage{unicode-math}
\setmathfont{TeX Gyre Termes Math}

或者

\setmainfont{XITS}
\usepackage{unicode-math}
\setmathfont{XITS Math}

2、添加 asmsymb 宏包,消除 \square 报错

3、添加 ulem 宏包,消除 \uline 报错

@chianjin 请问第2和3步的宏包应该放在哪里?
2、添加 asmsymb 宏包,消除 \square 报错

3、添加 ulem 宏包,消除 \uline 报错