[XeTeX] Xelatex+Tamil+English

François Patte francois.patte at mi.parisdescartes.fr
Tue Dec 21 10:32:58 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 21/12/2010 07:21, Sengottuvel a écrit :
> Dear all,
> 
>   I was create the Tamil document using xelatex. I got the output.   In
> that Tamil document some of the words are English in that words are
> comes boxes,how to solve this problem.
>  Which font should use for both Tamil and English.,.,

You don't need to use such a font! You can choose your font for Tamil
text and another font for English text.

For instance:

\setmainfont[Mapping=tex-text]{Linux Libertine}

\newcommand\tamil{\fontspec[Script=Tamil,Scale=1]{Lohit Tamil}}

In the preamble.

then your main text is in English and if you want to switch to Tamil:

{\tamil your Tamil text}

- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 4286 2145
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0QdEoACgkQdE6C2dhV2JXoIQCcCzyiO1IE3bfqUfsVYWDH+ISy
rk8An2JqmdIh1/A6n/67747Tr0TtJNXx
=nPtv
-----END PGP SIGNATURE-----


More information about the XeTeX mailing list