From: Nicholas Martin [[email protected]]
Sent: Sunday, March 25, 2012 3:23 AM
>OK, I've now figured out how to write Chinese in Lyx 2.02. Apologies for all
>who have no interest in >this whatsoever, but since a brief perusal of the
>forum shows that many have struggled with the same >problem, and that much of
>the advice given in the forum is now outdated (due to the improvements since
>>Lyx 1.4, 1.5 etc.), I thought it might be helpful to share the instructions:
>1. Write the following code into the Latex Preamble (Document --> Settings -->
>Latex Preamble ):
>\usepackage{CJKutf8}
>\usepackage[overlap, CJK]{ruby}
>\newenvironment{SChinese}{%
>\CJKfamily{gbsn}%
>\CJKtilde
>\CJKnospace}{}
>\newcommand{\cntxt}[1]{\begin{CJK}{UTF8}{}\begin{SChinese}#1\end{SChinese}\end{CJK}}
>2. Then, when you want to write Chinese in the text, do the following:
>Open a Tex Box (in menu, 6th button from right). Into the Tex box then write
>the following command >[replacing the characters below with whatever Chinese
>you want to write].
>\begin{CJK}{UTF8}{}\begin{SChinese}整治\end{SChinese}\end{CJK}
Great, thank you for posting the solution Nicholas!
If you have some time could you update the wiki page?
http://wiki.lyx.org/LyX/Chinese
It was last updated more than a year ago.
You don't need to sign up for a user name or anything.
Best,
Scott