TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any easy way to type Eastern Arabic Numerals in TeX? I mean these numbers: (٠‎ ١‎ ٢‎ ٣‎ ٤‎ ٥‎ ٦‎ ٧‎ ٨‎ ٩‎). Please note that I don't want to change the localization settings of my computer to non-US languages. I use US keyboard with US-English localization and need to type eastern Arabic numbers easily.

share|improve this question

If you don't have extensive arabic text, you can use:

\null \vskip -2cm
a b c d e f g h  \\
donald knuth pasha\\

enter image description here

As a matter of interest here in Doha they call them Indian numerals.

share|improve this answer
Wow, impressive. Is there any similar way to do it with polyglossia package? – Nina May 22 '12 at 19:58
@Nina See tex.stackexchange.com/a/12369/963, but then you will need either a virtual keyboard or an arabic keyboard, otherwise it can become very cumbersome to enter. – Yiannis Lazarides May 22 '12 at 20:01
I found an answer to my own question. It is by typing in hexadecimal HTML codes: \char"0660 \char"0661 \char"0662 \char"0663 \char"0664 \char"0665 \char"0666 \char"0667 \char"0668 \char"0669 and so on. If I want to type 125, that would be simply \char"0661\char"0662\char"0665 . Hope this helps others with a similar need. – Nina May 22 '12 at 20:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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