## LaTeX forum ⇒ XeTeX ⇒ Writing Japanese with XeTeX

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
MoonKid
Posts: 8
Joined: Sun Nov 18, 2012 4:21 pm

### Writing Japanese with XeTeX

I want to write Japanese with XeTeX.

The tex file is UTF-8 coded of course.

1.
I want the traditional reading from top to bottom and right to left. How can I realize it?

2.
In my example I have to set explicite a font. It is because the default font doesn't support japanese characters. I tried Arial (for example) but it doesn't work. But using Arial in LibreOffice work fine with japanese characters. So why can LibreOffice display japanese characters with Arial but XeTeX can not?

That is the code
\documentclass[20pt]{scrartcl} \usepackage{xltxtra}\defaultfontfeatures{Mapping=tex-text}\usepackage{polyglossia} \setmainfont{TakaoMincho} \begin{document}日本語 ドイツ語\end{document}

btw: I read about the package xeCJK http://www.ctan.org/tex-archive/macros/xetex/latex/xecjk/. But against the information on the CTAN website there is no english documentation availabe. So I am not able to use or understand it.
XeLaTeX from CTAN TeX-Live
with vim-latexsuite from an Ubuntu-based OS

Tags:

cgnieder
Site Moderator
Posts: 1974
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:
Just for information for potential answerers: this has also been asked on TeXwelt. and on golatex.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim