[XeTeX] Thai with XeLaTeX
Gareth Hughes
garzohugo at gmail.com
Thu Dec 10 18:13:04 CET 2009
BN wrote:
> Hi,
> who has experiences in writing / typesetting Thai with xelatex and
> would send me a short sample-file?
> thx so much
>
Here's a really short one, or do you want to do something more?
%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{minimal}
\usepackage{xltxtra, polyglossia}
\setmainlanguage{english}
\setotherlanguage[numerals=thai]{thai}
\newfontfamily\thaifont[Script=Thai]{Waree}
\begin{document}
Here is some Thai: \textthai{อักษรไทย}.
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Gareth.
More information about the XeTeX
mailing list