seloumi / beamer-rl

Right to left beamer presentations using babel (lualatex engine)
6 stars 1 forks source link

Alphabetically enumerated list #6

Closed Elfengour closed 1 year ago

Elfengour commented 1 year ago

Is there a way to enumerate the list alphabetically? there is a quetion here (https://tex.stackexchange.com/questions/667939/how-to-make-an-enumerated-lists-numbering-alphabetic-per-the-hebrew-alphabet-i) for Hebrew.

\documentclass[]{beamer} \begin{document} \renewcommand{\theenumi}{\alph{enumi}} \frame{
\begin{enumerate} \item item one \item item 2 \item item 3 \item item 4 \end{enumerate} } \end{document}

seloumi commented 1 year ago

For Arabic babel provide abjad style which redefine \alph, you can use it with \babelprovide[alph=abjad]{arabic}

\documentclass{beamer-rl}
\babelprovide[import,main,alph=abjad]{arabic}

\usetheme{Warsaw}

\begin{document}
\renewcommand{\theenumi}{\alph{enumi}}
\frame{
\begin{enumerate}
\item item one
\item item 2
\item item 3
\item item 4
\end{enumerate}
}
\end{document}