In a similar manner shown in

Change chapter numbers to words in Arabic

How can I write "Part one" instead of "part 1" but in Arabic:

Replace the word "part" with "الجزء" since the word "القسم" Is not appropriate.

I was able to do this replacement using the command:


HOwever, I do not know how to replace the number with its arabic translation written in letters

Here is an MWE:





\babelfont{rm}{Latin Modern Roman}
\babelfont[arabic]{rm}{Simplified Arabic}
\babelfont[english]{rm}{Times New Roman}

 %%%%%  END MACRO Litteral Numbering of chapters 
    \newcommand\words[1]{\expandafter\xwords\csname c@#1\endcsname}
الحادي عشر\or 
الثاني عشر\or 
الثالث عشر\or 
الرابع عشر\or 
الخامس عشر\or 
السادس عشر\or  
السابع عشر\or
الثامن عشر\or 
التاسع عشر\or 
    I need more words أحتاج إلى المزيد من ترقيمات الأبواب بالحروف في ملف arbbook.cls\fi}

    %next three lines is to make chapter naming use the above wordings (literal numbering in Arabic words)

% The below commands so that chapter name apear in header as Chapter one instead of chapter1
  {\begingroup \renewcommand{\thechapter}{{\words{chapter}}}}
% Controls how chapter namin apear in table of contents

% The below commands so that part name apear in header as part one instead of part 1
  {\begingroup \renewcommand{\thepart}{{\words{part}}}}
% Controls how part namin apear in table of contents

% part Naming
\gappto\captionsarabic{\renewcommand{\partname}{الجزء}} %to name the part title   الجزء instead of القسم

% Chapter Naming


\chapter{شكر وتقدير} 


  • You might try with the fmtcount package, which uses .ldf files. As far as I know there's no .ldf file for arabic, but you could make one yourself.
    – Bernard
    Commented Apr 14, 2022 at 9:08
  • @Bernard, the attached link, he managed to do something similar using a different approach
    – Silva
    Commented Apr 14, 2022 at 9:20
  • in what way does the linked answer no answer the question? Commented Apr 15, 2022 at 19:10
  • The \part macro differs from \chapter macro, we might use an analogous approach, able to change the word "part" to "الجزء" by using \gappto\captionsarabic{\renewcommand{\partname}{الجزء}} However, I could not achieve literal numbering of parts and do not know how to set their appearance in the TOC
    – Silva
    Commented Apr 15, 2022 at 19:13
  • you just need to replace "chapter` by "part" so \renewcommand\thepart{\words{part}} with \words as defined there Commented Apr 15, 2022 at 19:54

1 Answer 1


Here is the general mechanism provided by babel to set locale dependent counters and redefine strings. There are some simplifications, but note the ‘words’ counter appears in the section number (you may redefine it, however). Requires a relatively recent version.




\usepackage[english, bidi=basic, layout=lists.tabular]{babel}
  main, % Space separated list. Use braces in multi-word items:
  counters/words = الأول الثاني الثالث الرابع الخامس السادس السابع
     الثامن التاسع العاشر {الحادي عشر} {الثاني عشر}]{arabic}

\babelfont{rm}{Simplified Arabic} % The main font for the main lang
\babelfont[english]{rm}{Latin Modern Roman} % Secondary font/lang




\chapter{شكر وتقدير} 


enter image description here

  • The words counter appearing in section number is odd, is there a way to set it?
    – Silva
    Commented Apr 16, 2022 at 19:43
  • The commands \setlocalecaption{arabic}{part}{الجزء} \setlocalecaption{arabic}{chapter}{الباب} \setlocalecaption{arabic}{appendix}{الملحق} Are useful, however, the numbering code won't be good enough for use, also will it cause issues in the table of contents?
    – Silva
    Commented Apr 16, 2022 at 20:25
  • \renewcommand{\thesection}{\arabic{chapter}.\arabic{section}}. See, for example, tex.stackexchange.com/questions/278299/… . The best way to redefine the TOC format is with a package: options are titletoc, tocloft and etoc – see ctan.org/topic/toc-etc . Commented Apr 17, 2022 at 6:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .