@drghaliasri/butex 5.4.2 → 5.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8609,6 +8609,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
8609
8609
  \usepackage{polyglossia} % For Arabic support
8610
8610
  \usepackage{array}
8611
8611
  \usepackage{cancel}
8612
+ \usepackage{bidi}
8612
8613
  \usepackage{multirow}
8613
8614
  \usepackage{booktabs}
8614
8615
  \usepackage{graphicx} % For \reflectbox
@@ -8617,7 +8618,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
8617
8618
  \usepackage{tcolorbox} % For tcolorbox environment
8618
8619
  \usepackage{textcomp} % For \textrightarrow command
8619
8620
  \usepackage{url}
8620
- \usepackage{bidi}
8621
+
8621
8622
 
8622
8623
  % visit : https://www.symbolcopy.com/punctuation-symbol.html
8623
8624
  % for inversed punctuation
@@ -8638,6 +8639,11 @@ function arabicXeLatexPreambleFont(digitsMapping = "arabicdigits") {
8638
8639
  \\newfontfamily\\boldarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Bold}
8639
8640
  \\newfontfamily\\italicarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Italic}
8640
8641
 
8642
+ % for polyglossia url I dont know, sugggested by cursor
8643
+ \\newfontfamily\\arabicfonttt[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
8644
+ \\newfontfamily\\arabicfontsf[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
8645
+
8646
+
8641
8647
  % Explicitly set math font to XITS Math
8642
8648
  % Remove "Script=Arabic" to cancel reflected symbols and other RTL symbols
8643
8649
  \\setmathfont[Script=Arabic , Mapping=${digitsMapping}]{XITS Math} % Ensure XITS Math is correctly installed and available