Re: Indian languages

P P Narayanaswami <[email protected]> Fri, 28 Jul 2017 15:06:02 -0230
Newsgroups gmane.comp.tex.tugindia
Message-ID <[email protected]>
%%%%%%%%%%%%Minimal xelatex  example %%%%%%%%%%%%%%%%
%%%%please run "xelatex" (not latex)  on this file%%%%%%%

\documentclass{article}
\usepackage{xltxtra}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX,Mapping=tex-text,Numbers=OldStyle]{DejaVu 
Serif}
\newfontfamily{\sans}[Script=Devanagari]{Sanskrit2003}
\newfontfamily{\mal}[Script=Malayalam]{Rachana}
\newfontfamily{\tam}[Script=Tamil]{Latha}
\newfontfamily{\tel}[Script=Telugu]{Pothana2000}
\newfontfamily{\kan}[Script=Kannada]{Mallige}
\begin{document}
"Vande Mataram" in several languages:\\
\begin{quote}
{\sans वन्दे मातरं } (Devanagari/Hindi)\\
{\mal വന്ദേ മാതരം} (Malayalam)\\
{\tam வந்தே மாதரம்} (Tamil) \\
{\tel వందే మాతరం} (Telugu)\\
{\kan ವಂದೇ ಮಾತರಂ} (Kannada)
\end{quote}
\end{document}

You can use an(.ttf) that is installed in your operating system, but
make sure you use the "correct name" in the preamble (as found in your 
OS).
You can use any of the so many Unicode Editors to type material in any 
language.

Narayanaswami
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia