I tried to write Arabic numerals. For individual digits, there is no problem, but the problem starts with two numbers or more like the example below:
1980 should be ١٩٨٠ [correct]. But in my case I got ٠٨٩١ which means 0891 [Reversed, not correct] .
I tried to write Arabic numerals. For individual digits, there is no problem, but the problem starts with two numbers or more like the example below:
1980 should be ١٩٨٠ [correct]. But in my case I got ٠٨٩١ which means 0891 [Reversed, not correct] .
You can use the same advice given by @touhami in a previous answer to a similar question.
Since you didn't provide a MWE, I assumed you are using the babel package. Here is an example:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,arabic]{babel}
\begin{document}
\selectlanguage{Arabic}
بسم الله الرحمن الرحيم
نحن نستخدم الآن الجمل باللغة العربية :
١٩٨٠
1980
\I{1980}
\I{١٩٨٠}
\bigskip
{
\selectlanguage{english}
We are now using the English language sentence ...
1980 \par
\I{1980}
}
\end{document}
