How i can give section numbers and page numbers with Bengali numerals in latex?


You can use Enrico’s answer in the other question, provided you define a macro that outputs the Bengali numerals, as in the code below:


\def\bengalidigits#1{\expandafter\@bengali@digits #1@}
  \ifx @#1

\def\bengalinumeral#1{\bengalinumber{\csname c@#1\endcsname}}


\setmainfont{Lohit Bengali}









With this code I get the following result:Example with Bengali section and page numbers

Note in particular the Bengali digit 1 as the page number.

I’ll make the Bengali digit code in a package as part of Polyglossia.

  • Thank u so much.But is there any easier way to solve? if u make the Bengali digit code in a package as part of Polyglossia. how can i know u did? thanks again in advance :)
    – Masud
    May 26 '15 at 8:53
  • I’ll let you know when it’s done :-) May 26 '15 at 10:03
  • Have you finished doing Bengali digit code in Polyglossia? :-) (I can hardly wait to see!)
    – hola
    May 30 '17 at 2:55
  • @ArthurReutenauer Any plans of adding this? People are still asking questions about this feature… See also this question. Jun 28 '17 at 22:16

There is a gloss-bengali.ldf file, such that, when you use the polyglossia command: \setdefaultlanguage[numerals=Bengali,changecounternumbering=true]{bengali}, the numbering for page and for section down to subparagraph are changed to Bengali digits. Bengali names for the parts of a document are also in the file.

Some random text:

bengali sections


\setmainfont[Script=Bengali,Scale=1.5]{Noto Serif Bengali}
\section{কখগঘ কাকিকী কেকৈককোকৌ}
০১২৩৪৫৬৭৮৯ \bengalidigits{123 456 789} 
\section{কখগঘ কাকিকী কেকৈককোকৌ}

From the .ldf code, it should be straightforward to add the chapter, figure, table and footnote counters. Which leaves csquotes package quotation marks , perhaps equation numbering, and maybe the biblatex bibliography (and numeric citation style). And a note in the .ldf says the calendar still has to be done.

Certainly, section numbers and page numbers are available.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.