[XeTeX] Make Tamil font as default

Zdenek Wagner zdenek.wagner at gmail.com
Thu Jan 28 15:25:10 CET 2016


the best way is to use the polyglossia package. Define the fonts by
\newfontfamily\tamilfont{...}, set the languages by

Then the default text will be in Tamil in the Tamil font and you will use
either \textenglish{a few words} or

Longer English text, may contain several paragraphs

I have prepared a bokk in Hindi+Czech and another book in Czech+Hindi+Urdu
exactly this way.

Zdeněk Wagner

2016-01-28 14:37 GMT+01:00 Shakthi Kannan <shakthimaan at gmail.com>:

> Hi,
> I have the following input.tex file:
>   https://gist.github.com/shakthimaan/3dcfa64c3bd92ab2378d
> The content has more Tamil text than English.
> Is there a way I can set the default font as Tamil, and use \english
> whenever required, instead of having to specify \lohit everywhere?
> Thanks!
> SK
> --
> Shakthi Kannan
> http://www.shakthimaan.com
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160128/ea3e4d0a/attachment-0001.html>

More information about the XeTeX mailing list