Re: Tamil typing in latex
Radhakrishnan CV <[email protected]> Sun, 25 Aug 2013 22:04:58 +0530
| Newsgroups | gmane.comp.tex.tugindia |
|---|---|
| Message-ID | <CA+uu9n-8Y8sSrd=oGENRfdWwsawJaN4BYgBO5NYHCMzX5thERA@mail.gmail.com> |
On Sun, Aug 25, 2013 at 9:26 PM, SIVAKUMAR R <[email protected]> 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