【求助向】latex如何显示中文
Tofloor
poster avatar
dapulser
deepin
2017-11-14 06:56
Author
用的是texmaker(texstudio也试了一下),现在装了texlive2017完整版,已经用apt-get安装了latex-cjk-chinese,选择xetex编译时提示缺少字体,其实个人不要求什么其他字体,能用自带的文泉驿字体就很好了,求助如何显示出中文……看了网上很多其他教程……都不管用不知道怎么回事……

Reply Favorite View the author
All Replies
avatar
paopao123
deepin
2017-11-14 07:17
#1
缺少方正宋体和楷体。先试一下ctexart看是不是字体原因,\documentclass{ctexart} \begin{document} 中文English \end{document}
Reply View the author
avatar
cy844757727
deepin
2017-11-14 07:18
#2
本帖最后由 cy844757727 于 2017-11-13 23:21 编辑

你的texlive是用仓库里的还是自己去官网自己配置安装的(我的是仓库里安装的)缺少字体的另一种方法就是复制字体文件到文档所在目录下也行。
。。。。。。。。。。。。。。。。。。。。

Reply View the author
avatar
dapulser
deepin
2017-11-14 07:28
#3
https://bbs.deepin.org/post/148242
缺少方正宋体和楷体。先试一下ctexart看是不是字体原因,\documentclass{ctexart} \begin{document} 中文En ...

ctexart貌似不能用
File `ctexart.cls' not found. \begin
那个我刚刚试了一下文泉驿,能用了是我字体名没打对查了一下能用了
Reply View the author
avatar
dapulser
deepin
2017-11-14 07:29
#4
https://bbs.deepin.org/post/148242
你的texlive是用仓库里的还是自己去官网自己配置安装的(我的是仓库里安装的)缺少字体的另一种方法就是复 ...

自己下的……清华仓库里的,复制字体那个我再试试,谢谢
Reply View the author