[XeTeX] Japanese and English document

Kazuomi Kuniyoshi kuniyoshi at fastmail.fm
Wed May 27 22:53:30 CEST 2009


Hello

I’ve put some thoughts and codes about typesetting Japanese with XeTeX
at http://kuniyoshi.fastmail.fm/xetex/. I hope it will be helpful.

Kazuomi Kuniyoshi

--- On Thu, 2/26/09, Robert Beckett <sealbeam01 at yahoo.com> wrote:

> From: Robert Beckett <sealbeam01 at yahoo.com>
> Subject: [XeTeX] Japanese and English document
> To: xetex at tug.org
> Date: Thursday, February 26, 2009, 3:08 PM
> Hi All,
> I write letters in English, but sometimes include a few
> words or a
> paragraph in Japanese.The following is my setup. To my eye,
> the results seem ok, but I'm not
> sure. Does anyone have any advice on how to get the best
> possible spacing,
> etc. for both English and Japanese?
>
> Thanks
> Bob
>
> \documentclass[12pt,oneside,a4paper]{memoir}
> \usepackage{fontspec,xunicode,xltxtra}
> \usepackage{xCJK}
> \XeTeXinputencoding "bytes"
> \XeTeXdefaultencoding "bytes"
> \setmainfont[Mapping=tex-text, Numbers=OldStyle,
> BoldFont=AGaramondPro-Bold,
> ItalicFont=AGaramondPro-Italic]{AGaramondPro-Regular}
>
> \setCJKmainfont{KozMinProVI-Regular}
>
> \begin{document}
>
> Some English text.
>
> \begin{CJK}{UTF8}{}
>
> Some Japanese text.
>
> \end{CJK}
>
> \end{document}


More information about the XeTeX mailing list