[Tugindia] Tamil typing in latex
P. P. Narayanaswami
swami at mun.ca
Sun Aug 25 22:49:13 CEST 2013
The Latha font may be too big in size and may not match your mathematics or
English fonts, so you can download and install other nice Unicode fonts like
the Chemmozhi Font series. There are:
ChemmozhiTimes, ChemmozhiParanar, ChemmozhiVaigai, ChemmozhiThendral, etc.
You can select the one that nicely matches your mathematics/English fonts.
Quoting SIVAKUMAR R <skarg_ind at hotmail.com>:
> not working sir,
> this is the error message
>
> fontspec error: "font-not-found"
> !
> ! The font "Lohit-Tamil" cannot be found.
> !
> ! See the fontspec documentation for further information.
> !
> ! For immediate help type H <return>.
> !...............................................
> l.12 ...tfamily{\lohit}[Script=Tamil]{Lohit-Tamil}
> |'''''''''''''''''''''''''''''''''''''''''''''''
> | A font might not be found for many reasons.
> | Check the spelling, where the font is installed etc. etc.
> |
> | When in doubt, ask someone for help!
> |...............................................
> Requested font "Lohit-Tamil/ICU" at 10.0pt
> -> font not found, using "nullfont"
> *************************************************
> * fontspec warning: "script-not-exist"
> *
> * Font 'Lohit-Tamil' does not contain script 'Tamil'.
> *************************************************
> \g_fontspec_family_Lohit-Tamil_int=\count139
> Requested font "Lohit-Tamil/ICU" at 10.0pt
> -> font not found, using "nullfont"
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !
> ! fontspec error: "font-not-found"
> !
> ! The font "Lohit-Tamil" cannot be found.
> !
> ! See the fontspec documentation for further information.
> !
> ! For immediate help type H <return>.
> !...............................................
> l.12 ...tfamily{\lohit}[Script=Tamil]{Lohit-Tamil}
> |'''''''''''''''''''''''''''''''''''''''''''''''
> | A font might not be found for many reasons.
> | Check the spelling, where the font is installed etc. etc.
> |
> | When in doubt, ask someone for help!
> |...............................................
> Requested font "Lohit-Tamil/ICU" at 10.0pt
> -> font not found, using "nullfont"
> Requested font "Lohit-Tamil/B/ICU" at 10.0pt
> -> font not found, using "nullfont"
> .................................................
> . fontspec info: "no-font-shape"
> .
> . Could not resolve font Lohit-Tamil/B (it probably doesn't exist).
> .................................................
> Requested font "Lohit-Tamil/ICU" at 10.0pt
> -> font not found, using "nullfont"
> Requested font "Lohit-Tamil/I/ICU" at 10.0pt
> -> font not found, using "nullfont"
> .................................................
> . fontspec info: "no-font-shape"
> .
> . Could not resolve font Lohit-Tamil/I (it probably doesn't exist).
> .................................................
> Requested font "Lohit-Tamil/ICU" at 10.0pt
> -> font not found, using "nullfont"
> Requested font "Lohit-Tamil/BI/ICU" at 10.0pt
> -> font not found, using "nullfont"
> .................................................
> . fontspec info: "no-font-shape"
> .
> . Could not resolve font Lohit-Tamil/BI (it probably doesn't exist).
> .................................................
> .................................................
> . fontspec info: "defining-font"
> .
> . Font family 'Lohit-Tamil(0)' created for font 'Lohit-Tamil' with options
> . [Script=Tamil].
> .
> . This font family consists of the following shapes:
> .
> . * 'normal' with NFSS spec.:
> . <->"Lohit-Tamil/ICU:"
> .................................................
>
>
> > From: cvr at river-valley.org
> > Date: Sun, 25 Aug 2013 22:04:58 +0530
> > To: tugindia at tug.org
> > Subject: Re: [Tugindia] Tamil typing in latex
> >
> > On Sun, Aug 25, 2013 at 9:26 PM, SIVAKUMAR R <skarg_ind at hotmail.com>
> wrote:
> >
> > > I am using miketex(windows 7) with texmaker as editor.
> > > I want to type tamil in my documents along with english for prepearing
> > > bilingual question papers.
> > > So pls suggest about using other languages in latex.
> > >
> >
> > Given below is a small test file (the example is from Tamil Wikipedia):
> >
> > %<------------------------ begin --------------------------->
> >
> > \documentclass[a4paper]{article}
> > \usepackage{amsmath}
> >
> > \usepackage[margin=1in,top=1in,bottom=1in,ignoreall]{geometry}
> > \pagestyle{empty}
> >
> > \usepackage{fontspec}
> > \usepackage{xltxtra}
> > \setmainfont[Ligatures=TeX,Mapping=tex-text,Numbers=OldStyle]{TeX Gyre
> > Pagella}
> > \newfontinstance\pal[Mapping=tex-text,Numbers=OldStyle]{TeX Gyre Pagella}
> > \newfontfamily{\lohit}[Script=Tamil]{Lohit-Tamil}
> > \defaultfontfeatures{Scale=MatchLowercase}
> >
> > \begin{document}
> >
> > %\fontsize{9}{12}\selectfont
> > \parskip 6pt
> >
> > \raggedright
> >
> > \lohit
> >
> >
> > à®à®à¯à®à®±à¯à®± à®à®²à¯à®à¯à®à®³à®à¯à®à®¿à®¯à®®à®¾à®©
> விà®à¯à®à®¿à®ªà¯à®ªà¯à®à®¿à®¯à®¾à®µà®¿à®²à¯
> à®à®°à¯à®¨à¯à®¤à¯.
> >
> > \bigskip
> >
> > à®à®£à®¿à®¤à®¤à¯à®¤à®¿à®²à¯, à®à®°à¯à®ªà®à®¿à®¯à®à¯
> à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à®¿à®©à¯ தà¯à®à¯à®¤à®¿ à®
லà¯à®²à®¤à¯
> நà¯à®°à®¿à®¯à®²à¯ à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à®¿à®©à¯
> > தà¯à®à¯à®¤à®¿ {\pal(system of linear equations)} à®à®©à¯à®ªà®¤à¯,
> மாறிà®à®³à¯à®¯à¯à®®à¯ மாறிà®à®³à®¿à®©à¯
> > à®à®£à¯à®£à®¿à®à¯à®à¯à®¯à¯à®¯à¯à®®à¯ à®à®®à®®à®¾à®à®à¯
> à®à¯à®£à¯à® à®à®°à¯à®ªà®à®¿à®¯à®à¯
> à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à®¿à®©à¯
> தà¯à®à¯à®ªà¯à®ªà®¾à®à¯à®®à¯.
> > à®à®à¯à®¤à¯à®¤à¯à®à¯à®à®¾à®à¯à®à®¾à®,
> > \begin{alignat}{7}
> > 3x &&\; + \;&& 2y &&\; - \;&& z &&\; = \;&& 1 & \\
> > 2x &&\; - \;&& 2y &&\; + \;&& 4z &&\; = \;&& -2 & \\
> > -x &&\; + \;&& \tfrac{1}{2} y &&\; - \;&& z &&\; = \;&& 0 &
> > \end{alignat}
> > à®à®©à¯à®ªà®© $x, y, z$ à®à®©à¯à®©à¯à®®à¯ à®®à¯à®©à¯à®±à¯
> மாறிà®à®³à®¾à®²à¯ à®à®© à®®à¯à®©à¯à®±à¯
> à®à®°à¯à®ªà®à®¿à®¯à®à¯ à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à¯.
> > à®à®¨à¯à®¤ à®®à¯à®©à¯à®±à¯
> à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à¯à®¯à¯à®®à¯ à®à®°à¯à®à¯à®à¯
> நிறà¯à®µà¯ à®à¯à®¯à¯à®¯à¯à®®à¯ à®®à¯à®©à¯à®±à¯
> மாறிà®à®³à®¿à®©à¯
> > மதிபà¯à®ªà¯à®à®³à¯
> à®à®à¯à®à®®à®©à¯à®ªà®¾à®à¯à®à¯à®¤à¯ தà¯à®à¯à®¤à®¿à®¯à®¿à®©à¯
> à®à®°à¯ தà¯à®°à¯à®µà¯ à®à®©à®ªà¯à®ªà®à¯à®®à¯.
> >
> > à®®à¯à®±à¯à®à®£à¯à® à®à®°à¯à®à¯à®à®®à¯
> à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à®¿à®©à¯ à®à®°à¯ தà¯à®°à¯à®µà¯:
> > \begin{alignat}{2}
> > x & = & 1 \\
> > y & = & -2 \\
> > z & = & -2
> > \end{alignat}
> > à®à®®à¯à®®à®¤à®¿à®ªà¯à®ªà¯à®à®³à¯ à®®à¯à®±à¯à®à®£à¯à®
> à®®à¯à®©à¯à®±à¯ à®à®®à®©à¯à®ªà®¾à®à¯à®à®³à¯à®¯à¯à®®à¯
> நிறà¯à®µà¯ à®à¯à®¯à¯à®à®¿à®©à¯à®±à®©.
> >
> > à®à®£à®¿à®¤à®¤à¯à®¤à®¿à®²à¯ à®à®°à¯à®ªà®à®¿à®¯
> à®
à®®à¯à®ªà¯à®ªà¯à®à®³à¯ à®
லà¯à®²à®¤à¯
> à®à®°à¯à®à¯à®à®¿à®¯à®à¯à®à®³à¯, à®à®©à¯à®ªà®©
> தறà¯à®à®¾à®²à®à¯
> > à®à®£à®¿à®¤à®¤à¯à®¤à®¿à®©à¯ à®
à®à®¿à®ªà¯à®ªà®à¯à®¤à¯
> தà¯à®±à¯à®à®³à®¿à®²à¯ à®à®©à¯à®±à®¾à®© நà¯à®°à®¿à®¯à®²à¯
> à®à®¯à®±à¯à®à®£à®¿à®¤à®¤à¯à®¤à®¿à®©à¯ à®à®°à¯
> > பிரிவாà®à¯à®®à¯.
> >
> > \end{document}
> >
> > %<--------------------------- end ------------------------------->
> >
> > Please save this file and typeset using xelatex and see the result for
> > yourself. I have kept the pdf output of this source at this location (list
> > manager does not like attachments):
> >
> > http://download.river-valley.com/cvr/tamil.pdf
> >
> > Best regards
> > --
> > Radhakrishnan
> > River
>
Valley<https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1>
> > _______________________________________________
> > Home: http://www.tug.org.in/
> > TeX FAQ: http://www.tex.ac.uk/faq
> > unsubscribe: http://tug.org/mailman/listinfo/tugindia
>
> _______________________________________________
> Home: http://www.tug.org.in/
> TeX FAQ: http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
More information about the tugindia
mailing list