@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/document2.js
CHANGED
|
@@ -5006,6 +5006,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
|
|
|
5006
5006
|
\usepackage{polyglossia} % For Arabic support
|
|
5007
5007
|
\usepackage{array}
|
|
5008
5008
|
\usepackage{cancel}
|
|
5009
|
+
\usepackage{bidi}
|
|
5009
5010
|
\usepackage{multirow}
|
|
5010
5011
|
\usepackage{booktabs}
|
|
5011
5012
|
\usepackage{graphicx} % For \reflectbox
|
|
@@ -5014,7 +5015,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
|
|
|
5014
5015
|
\usepackage{tcolorbox} % For tcolorbox environment
|
|
5015
5016
|
\usepackage{textcomp} % For \textrightarrow command
|
|
5016
5017
|
\usepackage{url}
|
|
5017
|
-
|
|
5018
|
+
|
|
5018
5019
|
|
|
5019
5020
|
% visit : https://www.symbolcopy.com/punctuation-symbol.html
|
|
5020
5021
|
% for inversed punctuation
|
|
@@ -5035,6 +5036,11 @@ function arabicXeLatexPreambleFont(digitsMapping = "arabicdigits") {
|
|
|
5035
5036
|
\\newfontfamily\\boldarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Bold}
|
|
5036
5037
|
\\newfontfamily\\italicarabic[Script=Arabic,Mapping=${digitsMapping}]{Amiri Italic}
|
|
5037
5038
|
|
|
5039
|
+
% for polyglossia url I dont know, sugggested by cursor
|
|
5040
|
+
\\newfontfamily\\arabicfonttt[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
|
|
5041
|
+
\\newfontfamily\\arabicfontsf[Script=Arabic,Mapping=${digitsMapping}]{Amiri}
|
|
5042
|
+
|
|
5043
|
+
|
|
5038
5044
|
% Explicitly set math font to XITS Math
|
|
5039
5045
|
% Remove "Script=Arabic" to cancel reflected symbols and other RTL symbols
|
|
5040
5046
|
\\setmathfont[Script=Arabic , Mapping=${digitsMapping}]{XITS Math} % Ensure XITS Math is correctly installed and available
|