Last active
June 8, 2016 01:29
-
-
Save chudur-budur/08a536a35228fb9e6c0b987e6ef27c57 to your computer and use it in GitHub Desktop.
xelatex bangla with polyglossia
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[10pt]{article} | |
\usepackage{fontspec} | |
\usepackage{polyglossia} | |
\setdefaultlanguage[numerals=Devanagari]{bengali} | |
\setotherlanguage{english} | |
\setmainfont[Script=Bengali]{Lohit Bengali} | |
%\newcommand{\devanagarinumeral}[1]{% | |
% \devanagaridigits{\number\csname c@#1\endcsname}} | |
% renew all representation of counters | |
% \renewcommand{\thesection}{\devanagarinumeral{section}} | |
% \renewcommand{\thepage}{\devanagarinumeral{page}} | |
% \renewcommand{\theenumi}{\devanagarinumeral{enumi}} | |
\title{মফিজের গরু} | |
\author{কোপা-শামসু} | |
\date{\today} | |
\begin{document} | |
\maketitle | |
\section{ভূমিকা} | |
পাশের বাড়ির মফিজের কুরবানীর গরু দেইখ্যা পুরা টাশকি মাইরা গেলাম। দাম নাকি পড়ছে ৫০ হাজার ট্যাকা। | |
হালায় এত টাকা কামায় ক্যামনে? | |
\end{document} | |
% compile with xelatex: xelatex bangla.tex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment