Saturday, September 19, 2020

Writing Odia in LaTeX

Finally I was able to write Odia letters in LaTeX. I tried polyglossia but somehow couldn't make it work. Then I succeeded with the fontspec package. It came out to be simpler than all the complex indic examples found in web. Here is the document. 

 Note: Odia unicode font file kalinga.ttf must be present in C:\Windows\Fonts folder. PdfLatex wont work, One must use XeLatex to compile the document

\documentclass{article}
\usepackage{fontspec}
\newfontfamily\oriyafont{kalinga.ttf}
\DeclareTextFontCommand{\textodia}{\oriyafont}
\title{\LaTeX \textodia{ରେ ଓଡ଼ିଆ ଲେଖା}}
\author{\textodia{ସ୍ୱରୁପାନନ୍ଦ ବିଷୟୀ}}
\begin{document}
\date{}
\maketitle
\section{\textodia{ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆରୁ}}
\textodia{ଓଡ଼ିଆ ଏକ ଭାରତୀୟ ଭାଷା ଯାହା ଏକ ଇଣ୍ଡୋ-ଇଉରୋପୀୟ ଭାଷାଗୋଷ୍ଠୀ ଅନ୍ତର୍ଗତ ଇଣ୍ଡୋ-ଆର୍ଯ୍ୟ ଭାଷା । ଏହା ଭାରତ ଦେଶର ଓଡ଼ିଶା ପ୍ରଦେଶରେ ସର୍ବାଧିକ ବ୍ୟବ‌ହାର କରାଯାଉଥିବା ମୁଖ୍ୟ ସ୍ଥାନୀୟ ଭାଷା ଯାହା ୯୧}.\textodia{୮୫}\% \textodia{ଲୋକ ବ୍ୟବ‌ହର କରନ୍ତି । ଓଡ଼ିଶା ସମେତ ଏହା ପଶ୍ଚିମ ବଙ୍ଗ, ଛତିଶଗଡ଼, ଝାଡ଼ଖଣ୍ଡ, ଆନ୍ଧ୍ର ପ୍ରଦେଶ ଓ ଗୁଜରାଟ (ମୂଳତଃ ସୁରଟ)ରେ କୁହାଯାଇଥାଏ । ଏହା ଓଡ଼ିଶାର ସରକାରୀ ଭାଷା । ଏହା ଭାରତର ସମ୍ବିଧାନ ସ୍ୱିକୃତୀପ୍ରାପ୍ତ ୨୨ଟି ଭାଷା ମଧ୍ୟରୁ ଗୋଟିଏ ଓ ଝାଡ଼ଖଣ୍ଡର ୨ୟ ପ୍ରଶାସନିକ ଭାଷା । ଓଡ଼ିଆ ଷଷ୍ଠ ଭାରତୀୟ ଭାଷା ଭାବରେ ଏକ ସ୍ୱତନ୍ତ୍ର ଓ ଅନ୍ୟ ଭାଷାଦ୍ୱାରା ପ୍ରଭାବିତ ହୋଇ ନ‌ ଥିବା ଭାଷା ଭାବରେ ଶାସ୍ତ୍ରୀୟ ଭାଷାର ମାନ୍ୟତା ପାଇଛି ।}

\end{document}

No comments:

Post a Comment