one => الأول and so on.
In english, a solution exist:
Code: Select all
Code, edit and compile here:
\usepackage{fmtcount,etoolbox}\makeatletter\patchcmd{\@makechapterhead}{\thechapter}{\Numberstring{chapter}}{}{}\patchcmd{\chaptermark}{\thechapter}{\NUMBERstring{chapter}}{}{}\makeatother
Code: Select all
Code, edit and compile here:
\documentclass[12pt,english]{book}\usepackage{fancyhdr}\usepackage{polyglossia}\setmainlanguage[numerals=maghrib]{arabic}\setotherlanguage{english}\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Arabic Typesetting}\pagestyle{fancy}\begin{document}\selectlanguage{arabic}\chapter{مقدمة}\end{document}