# Numbering pages with hindi numerals using polyglossia

TeX - LaTeX Asked by Faouzi Bellalouna on December 8, 2020

I use polyglossia to produce multi-lingual documents, written in arabic and english. I use the usual numeration with arabic numbers 1,2,3 and I want to number the pages by using the hindi numbers, used in the arabic countries !! (see the MWE). How can I do this?

documentclass{article}

usepackage{polyglossia}
setmainlanguage[numerals=maghrib]{arabic}  %% The option numerals=mashriq gives the hindi numeration
setotherlanguage{english}

setmainfont[Script=Arabic]{Times New Roman}

newfontfamilyenglishfont{Times New Roman}

begin{document}

raggedrightLR{Page 1

The arabic numbers, used in almost all the word: 1 2 3
}

newpage

LR{Page 2

The hindi numbers, used by the arabic people: arabicdigits{1 2 3}
}
end{document}


## One Answer

I found in my old documents some thing like, from what I obtain the following commands, renumbering the pages with hindi digits:

%%%%        The Hindi counter is pagenumstyled
%RequirePackage{arabicnumbers}
newcounthindcnt
defpagenumstyled{afterassignmentdopagenumstylehindcnt}
defdopagenumstyle{arabicdigits{numberhindcnt}}
renewcommand{thepage}{pagenumstyledarabic{page}}


Answered by Faouzi Bellalouna on December 8, 2020

## Related Questions

### Labels of arrows in a tikzcd diagram not showing in Beamer

1  Asked on May 15, 2021

### Linebreak in multirow using tabularx

3  Asked on May 15, 2021

### How to make Three figures in one horizontal Line in Latex?

2  Asked on May 15, 2021

### Latex compilation error submitting to Bioinformatics journal

1  Asked on May 15, 2021 by noiet

### How to find correctly the .bib file?

1  Asked on May 15, 2021 by daniel-valencia-c

### make latex to automatically choose the placement of algorithms

1  Asked on May 15, 2021 by arunmoezhi

### Etoolbox’s patchcmd can’t find search pattern due to hyperref package

1  Asked on May 15, 2021 by croisillon

### chaptertitle not working in scrbook with scrlayer-scrpage

1  Asked on May 15, 2021

### Nested column-wise cell merging using multicolumn in a long table environment

2  Asked on May 15, 2021 by aimbotter21

### How do I insert a tie (~, non-breaking space, tilde) under expl3 syntax?

1  Asked on May 14, 2021 by sean-allred

### How to create a LaTeX format file without an existing TexLive install

1  Asked on May 14, 2021

### CSVREADER in creating a fancy table

0  Asked on May 14, 2021 by user221946

### Tikz. How to draw arcs between nodes?

3  Asked on May 14, 2021 by mika-ike

### How can I obtain a closed curve in Tikz where part of it is smooth

1  Asked on May 14, 2021

### How can we make a pumpkin, jack-o-lantern, or other halloween spirit, ghoul, or skeleton?

7  Asked on May 14, 2021

### Reporting text in citations rather than numbers

1  Asked on May 14, 2021

### How do I recreate these ornaments?

1  Asked on May 14, 2021

### Problem footcitetext numbering

0  Asked on May 14, 2021 by fly

### References in table of contents

1  Asked on May 14, 2021 by klaas

### How to use phonetic IPA characters in LaTeX

4  Asked on May 14, 2021

### Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir