|||
直接在ubuntu软件中心下载安装
Texlive,Kile,texlive-lang-cjk
以下引用: https://wiki.archlinux.org/index.php/TeX_Live_and_CJK
documentclass[a4paper,10pt]{article}
usepackage[encapsulated]{CJK}
usepackage{ucs}
usepackage[utf8x]{inputenc}
% use one of bsmi(trad Chinese), gbsn(simp Chinese), min(Japanese), mj(Korean); see:
% /usr/share/texmf-dist/tex/latex/cjk/texinput/UTF8/*.fd
begin{document}
newcommand{cntext}[1]{begin{CJK}{UTF8}{gbsn}#1end{CJK}}
cntext{我的中文寫得很好。}
end{document}
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-21 22:08
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社