Latex中文字体问题

正常安装好了texlive2011,英文显示正常,可是中文就一直纠结着。。。

用xelatex编译,能显示部分中文,但是很诡异地不能字体加粗或变为斜体,并且伴随着以下这些错误提示:

LaTeX Font Warning: Font shape `EU1/AdobeSongStd(0)/m/sl’ undefined(Font) using `EU1/AdobeSongStd(0)/m/n’ instead on input line 69.

Underfull \hbox (badness 10000) in paragraph at lines 69–69

Overfull \hbox (3.31209pt too wide) in paragraph at lines 101–101

[][]\EU1/lmr/m/n/10.95 2009.9–2010.7[]|[1] (/tmp/.Resume-zh.tex.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

(see the transcript file for additional information)Error 35584 (driver return code) generating output;file /tmp/.Resume-zh.tex.pdf may not be valid.

Transcript written on /tmp/.Resume-zh.tex.log.

找了好多资料都解决不了,一直觉得是缺少什么东西没装。。可是网上说的xeCJK、xelatex之类的明明texlive2011都自带了呀。。百思不解。。。

最后,发现原来是个很坑爹的原因:有些系统能识别的字体是无法在latex使用的。。。。。。。

比如我的系统里,WenQuanYi Bitmap Song,WenQuanYi Bitmap Song,Adobe Song Std,,Adobe Fangsong Std这些都识别不了,所以我的问题就是使用了不该使用的Adobe Song Std和Adobe Fangsong Std。。。。。。。

如果有遇到类似错误提示的朋友,不妨试试也换换字体。。。

PS:在Ubuntu下可以用命令:

fc-list :lang=zh-cn

查出所有中文字体。

人的价值,在遭受诱-惑的一瞬间被决定

Latex中文字体问题

相关文章:

你感兴趣的文章:

标签云: