@drghaliasri/butex 5.4.4 → 5.4.5
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 +10 -7
- package/dist/document2.js.map +1 -1
- package/dist/document2.mjs +10 -7
- package/dist/document2.mjs.map +1 -1
- package/dist/react-document2.js +10 -7
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +10 -7
- package/dist/react-document2.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react-document2.mjs
CHANGED
|
@@ -8612,7 +8612,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
|
|
|
8612
8612
|
\usepackage{bidi}
|
|
8613
8613
|
\usepackage{multirow}
|
|
8614
8614
|
\usepackage{booktabs}
|
|
8615
|
-
\usepackage{graphicx} % For \
|
|
8615
|
+
\usepackage{graphicx} % For \butexreflect
|
|
8616
8616
|
\usepackage{xcolor}
|
|
8617
8617
|
\usepackage{tikz}
|
|
8618
8618
|
\usepackage{tcolorbox} % For tcolorbox environment
|
|
@@ -8680,8 +8680,11 @@ function arabicXeLatexPreambleCmd() {
|
|
|
8680
8680
|
\newcommand{\vertbar}{\rule[-1ex]{0.5pt}{2.5ex}}
|
|
8681
8681
|
\newcommand{\horzbar}{\rule[.5ex]{2.5ex}{0.5pt}}
|
|
8682
8682
|
|
|
8683
|
-
|
|
8684
|
-
\newcommand{\
|
|
8683
|
+
|
|
8684
|
+
\newcommand{\butexreflect}[1]{%\tikz[baseline=(n.base)]{\node[inner sep=0pt,outer sep=0pt,xscale=-1] (n) {#1};}%}
|
|
8685
|
+
|
|
8686
|
+
\newcommand{\arabsqrt}[2]{\butexreflect{\(\sqrt[\butexreflect{\(#1\)}]{\butexreflect{\(#2\)}}\)}}
|
|
8687
|
+
\newcommand{\arabvec}[1]{\butexreflect{$\vec{\butexreflect{$#1$}}$}}
|
|
8685
8688
|
|
|
8686
8689
|
\newcommand{\arabexp}[1]{{}^{#1}\!\raisebox{-4.5pt}{\text{\diwani{ه}}}}
|
|
8687
8690
|
\newcommand{\arablog}[2]{\left(\text{#2}\right)\!\prescript{}{\text{#1}}{\text{\diwani{لو}}}}
|
|
@@ -8729,9 +8732,9 @@ function arabicXeLatexPreambleCmd() {
|
|
|
8729
8732
|
\newcommand{\araboddde}[2][-5pt]{\stackrel{\raisebox{#1}{$\vcenter{\hbox{$\cdot\!\cdot\!\cdot$}}$}}{\text{#2}}}
|
|
8730
8733
|
\newcommand{\arabpde}[1]{\prescript{}{#1\!\!}{\nabla}} % arabic partial differential equation (PDE)
|
|
8731
8734
|
|
|
8732
|
-
\newcommand{\arabprime}[0]{\
|
|
8733
|
-
\newcommand{\arabpprime}[0]{\
|
|
8734
|
-
\newcommand{\arabppprime}[0]{\
|
|
8735
|
+
\newcommand{\arabprime}[0]{\butexreflect{$\prime$}\!} % arabic prime notation
|
|
8736
|
+
\newcommand{\arabpprime}[0]{\butexreflect{$\prime$}\butexreflect{$\prime$}\!} % arabic prime notation
|
|
8737
|
+
\newcommand{\arabppprime}[0]{\butexreflect{$\prime$}\butexreflect{$\prime$}\butexreflect{$\prime$}\!} % arabic prime notation
|
|
8735
8738
|
|
|
8736
8739
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
8737
8740
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
@@ -8751,7 +8754,7 @@ function arabicXeLatexPreambleCmd() {
|
|
|
8751
8754
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
8752
8755
|
|
|
8753
8756
|
|
|
8754
|
-
\newcommand{\arsqrt}[2][]{\
|
|
8757
|
+
\newcommand{\arsqrt}[2][]{\butexreflect{\(\sqrt[\butexreflect{\(#1\)}]{\butexreflect{\(#2\)}}\)}}
|
|
8755
8758
|
\newcommand{\arexp}[0]{\!\raisebox{-4.5pt}{\text{\diwani{ه}}}}
|
|
8756
8759
|
\newcommand{\arlog}[0]{\!\!\text{\diwani{لو}}}
|
|
8757
8760
|
\newcommand{\arln}[0]{\!\!\prescript{}{\text{\diwani{ه}}}{\text{\diwani{لو}}}}
|