问题
在使用Texmaker自动生成的 xelatex 模板排版中文报告时。由于将主字体设置为楷体
\setmainfont[BoldFont=SimHei]{
STKaiti}
导致 section
使用英文时,默认字体非常的丑陋,效果如下:
解决
在Google latex section font
后意外的发现了下面的问答,完美的解决了我想要更换 section
字体的问题,附带还学到了控制 xelatex 产生类似 MS word 文档的标题效果。
The best way to have total control over the sectioning is the titlesec package. Here’s a quick version of the standard MSWord sectioning for the first three levels. To control colours, you need the xcolor package.
If you are using different fonts for different section levels (not recommended) you shoul