0

I'm trying to compile an Armenian text that has an enumerated list. Instead of regular numbers like 1, 2, ..., I get the Armenian letters as enumeration labels. Below is my code

\documentclass[12pt]{report}
\usepackage{polyglossia}
\newfontfamily{\armenianfont}{DejaVu Serif}
\setdefaultlanguage{armenian}

\begin{document}
\begin{enumerate}
    \item Հայերեն տեքստ 1 (a text in Armenian 1)
    \item Հայերեն տեքստ 2 (a text in Armenian 2)
\end{enumerate}
\end{document}

This is the output :

enter image description here

I'd like to have regular arabic numbers 1, 2, etc. on the left.

2 Answers 2

1

Just add option numerals=arabic to \setdefaultlanguage command

\documentclass[12pt]{report}
\usepackage{polyglossia}
\newfontfamily{\armenianfont}{DejaVu Serif}
\setdefaultlanguage[numerals=arabic]{armenian}

\begin{document}
\begin{enumerate}
    \item Հայերեն տեքստ 1 (a text in Armenian 1)
    \item Հայերեն տեքստ 2 (a text in Armenian 2)
\end{enumerate}
\end{document}
2
  • Thanks, this worked
    – hm112
    Dec 23, 2022 at 19:45
  • You are welcome
    – Salim Bou
    Dec 23, 2022 at 19:57
0

Another alternative that worked for me is:

\documentclass[12pt]{report}
\usepackage{polyglossia}
\newfontfamily{\armenianfont}{DejaVu Serif}
\setdefaultlanguage{english}
\setotherlanguage{armenian}
\begin{document}
\begin{enumerate}
    \begin{armenian}
    \item  Հայերեն տեքստ 1 (a text in Armenian 1)
    \item Հայերեն տեքստ 2 (a text in Armenian 2)
     \end{armenian}
\end{enumerate}
\end{document}

You must log in to answer this question.

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