@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.
- package/dist/document2.js +7 -1
- package/dist/document2.js.map +1 -1
- package/dist/document2.mjs +7 -1
- package/dist/document2.mjs.map +1 -1
- package/dist/react-document2.js +7 -1
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +7 -1
- package/dist/react-document2.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react-document2.js
CHANGED
|
@@ -8644,6 +8644,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
|
|
|
8644
8644
|
\usepackage{polyglossia} % For Arabic support
|
|
8645
8645
|
\usepackage{array}
|
|
8646
8646
|
\usepackage{cancel}
|
|
8647
|
+
\usepackage{bidi}
|
|
8647
8648
|
\usepackage{multirow}
|
|
8648
8649
|
\usepackage{booktabs}
|
|
8649
8650
|
\usepackage{graphicx} % For \reflectbox
|
|
@@ -8652,7 +8653,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
|
|
|
8652
8653
|
\usepackage{tcolorbox} % For tcolorbox environment
|
|
8653
8654
|
\usepackage{textcomp} % For \textrightarrow command
|
|
8654
8655
|
\usepackage{url}
|
|
8655
|
-
|
|
8656
|
+
|
|
8656
8657
|
|
|
8657
8658
|
% visit : https://www.symbolcopy.com/punctuation-symbol.html
|
|
8658
8659
|
% for inversed punctuation
|
|
@@ -8673,6 +8674,11 @@ function arabicXeLatexPreambleFont(digitsMapping = "arabicdigits") {
|
|
|
8673
8674
|
\\newfontfamily\\boldarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Bold}
|
|
8674
8675
|
\\newfontfamily\\italicarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Italic}
|
|
8675
8676
|
|
|
8677
|
+
% for polyglossia url I dont know, sugggested by cursor
|
|
8678
|
+
\\newfontfamily\\arabicfonttt[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
|
|
8679
|
+
\\newfontfamily\\arabicfontsf[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
|
|
8680
|
+
|
|
8681
|
+
|
|
8676
8682
|
% Explicitly set math font to XITS Math
|
|
8677
8683
|
% Remove "Script=Arabic" to cancel reflected symbols and other RTL symbols
|
|
8678
8684
|
\\setmathfont[Script=Arabic , Mapping=${digitsMapping}]{XITS Math} % Ensure XITS Math is correctly installed and available
|