[XeTeX] Thai with XeLaTeX

BN bernd.ne at snafu.de
Thu Dec 10 19:50:47 CET 2009


Thank you very much, for the first steps it is very helpful!
Bernd

Gareth Hughes schrieb:
> 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