2

I use polyglossia package and when I try to enumerate in this way ( 6a,6b,6c,,, ) it changes to arabic alphabet. how can I write it in the way I want it (6a,6b,6c).

\documentclass[a5paper]{article}
\newcommand{\subscript}[2]{$#1 _ #2$}
\usepackage{amsfonts}
\usepackage{polyglossia}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\setdefaultlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Scheherazade}
\begin{document}
\begin{enumerate}[label={6}\Alph*]
\item خوایه‌ وه‌ته‌ن    
\item  چه‌ند دڵگیر و شیرینه‌
\end{enumerate}

\end{document}

Remark:- I found this answer to my question, but now if I write kurdish language after \item it will not shown, only Latin text will be appear which is again a problem.

0

To recover the definition of \@alph you can add

\appto\arabic@numbers{%
   \let\@alph\@origalph%
   \let\@Alph\@origAlph%
   }

Code

\documentclass[a5paper]{article}
\newcommand{\subscript}[2]{$#1 _ #2$}
\usepackage{amsfonts}
\usepackage{polyglossia}
\usepackage{enumitem}
\setdefaultlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Scheherazade}

\makeatletter
\appto\arabic@numbers{%
   \let\@alph\@origalph%
   \let\@Alph\@origAlph%
   }
\makeatother

\begin{document}
\begin{enumerate}[label={6}\alph*]
\item خوایه‌ وه‌ته‌ن    
\item  چه‌ند دڵگیر و شیرینه‌
\end{enumerate}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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