2011年7月12日 星期二

[Ubuntu] Use latex on Ubuntu

1.Choose software center --> search texlive --> install

2.Choose software center --> search cjk-latex --> install

3.Choose software center --> search texmaker --> install

4.Go to nkai font

download : nkait1-1.4.2.tar.gz

tar -zxvf ./nkait1-1.4.2.tar.gz

cd nkait1-1.4.2

chmod +x install.sh

./install.sh



5.Open texmaker --> input English or Chinese word --> complie (texmaker operation)

sample :

\documentclass[12pt, a4paper]{article}


\usepackage{CJK}

\begin{document}

\begin{CJK}{UTF8}{nkai}

中文測試

\end{CJK}

\end{document}



or

\documentclass{article}

\usepackage{CJK}

\begin{document}

\begin{CJK*}{Bg5}{nkai}

測試

\end{CJK*}

\end{document}



如果有問題,中文一直都沒有辨法compile 過關。

重開機看看。



Reference : 如何用 LaTeX 排版臺灣大學碩士論文?


very fast to use.

0 意見:

張貼留言