在论坛上知道了 LaTeX,又从 monnand 那里看到了它的应用,又听见某慕容同学嚷嚷着要学,那么我就看看 LaTeX 到底是怎么样一个东西吧……
What's LaTex?
LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation.请访问 LaTeX Porjiect 页面以了解更多信息:http://www.latex-project.org/
LaTeX is the de facto standard for the communication and publication of scientific documents. LaTeX is available as free software.
What's CJK?
C 就是 Chinese,J 就是 Japanese,K 就是 Korean。CJK 就是中日韩文字符支持……
CJK 的 LaTeX 扩展是必须的,要不然 LaTeX 对咱们来说就没易用性了……
请访问 CJK for LaTeX Extension 页面以了解更多信息:http://cjk.ffii.org/
Ubuntu 下安装 LaTeX+CJK(主要还是 Chinese)很容易,apt-get install 一下就好了。
sudo apt-get install texlive texlive-math-extra texlive-latex-base texlive-latex-extra \
texlive-latex-recommended texlive-pictures texlive-science texlive-bibtex-extra \
texlive-common latex-beamer latex-cjk-chinese ttf-arphic-* hbf-*
有了中文支持,但是没有中文字体。
配置中文字体请参考 Monnand 和 LDCN 的文章:
http://blog.linuxsky.org/58/viewspace-3824.html
http://linuxdesktop.cn/2008/02/26/config-texlive-cjk-under-ubuntu
按照 Monnand 的做法(下载 nsung 的字体包,运行 install.sh),整个过程中会发生错误,不爽。后来看了 LDCN 的文章才发现,刷新字体的命令需要用 sudo 权限运行。。。修改了一下代码,搞定了。
顺便自己也生成了一个 simsun 的字体包,花了我一个半小时啊……
测试两篇文章上的例子通过了,说明 CJK 支持配置成功。
现在的问题是:LaTeX 怎么用?
在网上找到一个教程,不错,给个地址,自己下载了看看吧,绝对权威……
ftp://ftp.ctex.org/pub/tex/CTDP/lshort-cn/
咱慢慢去看。。。。