@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.
@@ -4858,6 +4858,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
4858
4858
  \usepackage{polyglossia} % For Arabic support
4859
4859
  \usepackage{array}
4860
4860
  \usepackage{cancel}
4861
+ \usepackage{bidi}
4861
4862
  \usepackage{multirow}
4862
4863
  \usepackage{booktabs}
4863
4864
  \usepackage{graphicx} % For \reflectbox
@@ -4866,7 +4867,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
4866
4867
  \usepackage{tcolorbox} % For tcolorbox environment
4867
4868
  \usepackage{textcomp} % For \textrightarrow command
4868
4869
  \usepackage{url}
4869
- \usepackage{bidi}
4870
+
4870
4871
 
4871
4872
  % visit : https://www.symbolcopy.com/punctuation-symbol.html
4872
4873
  % for inversed punctuation
@@ -4887,6 +4888,11 @@ function arabicXeLatexPreambleFont(digitsMapping = "arabicdigits") {
4887
4888
  \\newfontfamily\\boldarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Bold}
4888
4889
  \\newfontfamily\\italicarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Italic}
4889
4890
 
4891
+ % for polyglossia url I dont know, sugggested by cursor
4892
+ \\newfontfamily\\arabicfonttt[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
4893
+ \\newfontfamily\\arabicfontsf[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
4894
+
4895
+
4890
4896
  % Explicitly set math font to XITS Math
4891
4897
  % Remove "Script=Arabic" to cancel reflected symbols and other RTL symbols
4892
4898
  \\setmathfont[Script=Arabic , Mapping=${digitsMapping}]{XITS Math} % Ensure XITS Math is correctly installed and available