LaTex中文写作的最佳组合是什么? [英] What's the best combination of LaTex writing in Chinese?

查看:126
本文介绍了LaTex中文写作的最佳组合是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人推荐了xelatex,但其他人则坚持使用乳胶+ CJK,哪一个更受欢迎?谢谢.

someone rcommend the xelatex, but others insist on the latex+CJK, which one is prefer? thanks.

推荐答案

我使用LaTeX + CJK,并且工作正常.确保您的文本编辑器支持unicode,然后在\documentclass\begin{document}行之间添加以下行:

I use LaTeX + CJK and it works fine. Make sure your text editor supports unicode, and then add these lines between the \documentclass and \begin{document} lines:

\usepackage{CJKutf8}
\newcommand{\zh}[1]{\begin{CJK}{UTF8}{gbsn}#1\end{CJK}}

现在,您可以通过键入\zh{中文}

Now you can insert whatever Chinese characters you like into the document by typing \zh{中文}

这篇关于LaTex中文写作的最佳组合是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆