-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I have an exam written in Arabic. Need Latin numbering for choices (A, B, C, D).
MWE:
\documentclass[12pt]{exam}
\usepackage{polyglossia}
\usepackage{fontspec}
% Language setup
\setmainlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=0.9]{Amiri}
% Questions setup
\usepackage{alphalph}
\renewcommand{\thechoice}{\AlphaAlph{\value{choice}}}
\begin{document}
\begin{questions}
\question
أوجد قيمة $x$ في المقدار اﻵتي:
\begin{choices}
\choice 1
\choice 2
\choice 3
\choice 4
\end{choices}
\end{questions}
\end{document}Yields undefined control sequence for \choice.
Metadata
Metadata
Assignees
Labels
No labels