首先先下載ttf字體,雙擊安裝,然后運(yùn)行fc-list ::lang=zh >> zh.txt打印出可以使用的字體,然后在tex文件中加入
<pre>
\setCJKfamilyfont{hyzhj}{[hyssyj.ttf]}
\newCJKfontfamily\hyzhj{[hyssyj.ttf]}
</pre>
其中hyssyj.ttf為zh.txt中顯示的對(duì)應(yīng)的字體的文件名稱
首先先下載ttf字體,雙擊安裝,然后運(yùn)行fc-list ::lang=zh >> zh.txt打印出可以使用的字體,然后在tex文件中加入
<pre>
\setCJKfamilyfont{hyzhj}{[hyssyj.ttf]}
\newCJKfontfamily\hyzhj{[hyssyj.ttf]}
</pre>
其中hyssyj.ttf為zh.txt中顯示的對(duì)應(yīng)的字體的文件名稱