I'm writing a book about probability in Arabic, and I'm using the commands
\usepackage{polyglossia}
\setmainlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic]{Traditional Arabic}
With this package, the commands \emph
and \textit
have no effect, that is, it leaves the words in Roman. How I can repair this?
Here is an example:
\documentclass[a4paper]{book}
\usepackage[dvips]{graphicx}
\usepackage{boxedminipage}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{rotating}
\usepackage{fmultico}
\setlength{\columnseprule}{0.1pt}
\usepackage{polyglossia}
\setmainlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic]{Traditional Arabic}
\begin{document}
\hfill\LR{A sample of probabilistic arabic text}
نهتم، في كثير من الأحيان، بتحديد عدد
\emph{المجموعات المختلفة} المتكونة من $r$
عنصر، التي يمكن تشكيلها من مجموعة فيها $n$ عنصر.
\end{document}
amiri
instead.