For the following MWE, I need to understand
1- when I should use the starred version of \babelfont[*arabic]
and
2- the differences between/impact of setting the language arabic
and the script *arabic
.
\documentclass[12pt, a4paper]{article}
\usepackage[tuenc,no-math]{fontspec}
\setmainfont[
Ligatures = {
NoCommon, % liga
NoRare,% dlig
}
]{Latin Modern Roman}
\newfontfamily\arabicfont{Scheherazade}[ Script = Arabic, RawFeature={+anum}, Scale = 1]
\usepackage[english, bidi = basic]{babel}
\babelprovide[import, onchar = ids fonts]{arabic}
\babelfont[arabic]{rm}{Scheherazade} % [Scale = 2]{Scheherazade}
\babelfont[arabic]{sf}{Scheherazade}
\parindent=0pt
\begin{document}
السلام عليكم ورحمة الله وبركاته
\end{document}