安装字体 配置texlive 的模板时,发现系统没有STXinwei 字体,但是在系统安装了ttf 和 otf 都没有解决这个问题,最后直接把字体文件设置为公共获取;在 \texmf-dist\fonts\opentype\public 中粘贴字体文件 STXinwei.otf 然后直接运行texlive 即可。 环境:texlive 2021; Emacs+CDlatex; xelatex engine.