Windows xelatex添加字体
2017-06-11 本文已影响0人
jjkke88
首先先下载ttf字体,双击安装,然后运行fc-list ::lang=zh >> zh.txt
打印出可以使用的字体,然后在tex文件中加入
<pre>
\setCJKfamilyfont{hyzhj}{[hyssyj.ttf]}
\newCJKfontfamily\hyzhj{[hyssyj.ttf]}
</pre>
其中hyssyj.ttf为zh.txt中显示的对应的字体的文件名称