May 13, 2009

tex on linux, 中文

texlive is a distribution of TEX.

Fedora 10 using texlive.

参看这儿说明. 基本上就是在线安装 texlive 2008
注,安装界面采用进入子菜单选择后,按R返回主菜单,再选择下一项的方式。
可以选择具体的packages
除了已经选择的几个和说明上选的几个,还必须加上 recommended fonts

注:zhspacing 的.sty文件放在 ~/.texlive2008/texmf-var/tex/zhspaing 下

另外一篇非常好的文章

IDE:
kile
lyx 结合即见即所得和 latex


如何让 kile 支持 xelatex
Tools -> Configure Kile -> tools -> new -> create some name -> behaviour like
> pdflatex -> change command into "xelatex"
then Tools -> configure toolbars to show the icon

The simplest command would be xelatex '%source' (Dont't forget the last part)
configure editor and change the fonts to correctly display Chinese.

选择微软雅黑还算不错。

测试:
\documentclass{article}
\usepackage{zhspacing}
\zhspacing
\begin{document}
中Eng文混排,“标点压缩”,间 距 调 整 ……
\end{document}

0 comments: