LaTex学习 – 使用中文

我用的是CTEX套件,中文支持都配置好了。

CCT:

\documentclass[CJK]{cctart}
\begin{document}
\kaishu 这是中文楷体字。
\end{document}

CJK*:

\documentclass{article}
\usepackage{CJK}
\begin{document}
\begin{CJK*}{GBK}{kai}
这是中文楷体字。
\end{CJK*}
\end{document}

编译方法和英文文档一样:

> latex chinese
> dvips chinese
> ps2pdf chinese.ps chinese.pdf

LaTex学习 – Absolute beginners

准备开始做学位论文了,打算用LaTex。

先学习LaTex的Hello World

% hello.tex - Our first Latex example!
<font color="#006600"><strong>\documentclass</strong></font><font color="#660000">{article}</font>
<font color="#0000ff">\begin</font><font color="#660000">{</font><font color="#009900"><u>document</u></font><font color="#660000">}</font>

Hello World!
<font color="#0000ff">\end</font><font color="#660000">{</font><font color="#009900"><u>document</u></font><font color="#660000">}</font>
生成文档

> latex hello

再转成Postscript文件

> dvips hello.dvi -o hello.ps

输出PDF文件

> ps2pdf hello.ps hello.pdf