@drghaliasri/butex 5.4.4 → 5.4.6
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/document2.js
CHANGED
|
@@ -5009,7 +5009,7 @@ function arabicXeLatexPreamblePkg(twocolumn = false) {
|
|
|
5009
5009
|
\usepackage{bidi}
|
|
5010
5010
|
\usepackage{multirow}
|
|
5011
5011
|
\usepackage{booktabs}
|
|
5012
|
-
\usepackage{graphicx} % For \
|
|
5012
|
+
\usepackage{graphicx} % For \butexreflect
|
|
5013
5013
|
\usepackage{xcolor}
|
|
5014
5014
|
\usepackage{tikz}
|
|
5015
5015
|
\usepackage{tcolorbox} % For tcolorbox environment
|
|
@@ -5077,8 +5077,11 @@ function arabicXeLatexPreambleCmd() {
|
|
|
5077
5077
|
\newcommand{\vertbar}{\rule[-1ex]{0.5pt}{2.5ex}}
|
|
5078
5078
|
\newcommand{\horzbar}{\rule[.5ex]{2.5ex}{0.5pt}}
|
|
5079
5079
|
|
|
5080
|
-
|
|
5081
|
-
\newcommand{\
|
|
5080
|
+
|
|
5081
|
+
\newcommand{\butexreflect}[1]{\tikz[baseline=(n.base)]{\node[inner sep=0pt,outer sep=0pt,xscale=-1](n){#1};}}
|
|
5082
|
+
|
|
5083
|
+
\newcommand{\arabsqrt}[2]{\butexreflect{\(\sqrt[\butexreflect{\(#1\)}]{\butexreflect{\(#2\)}}\)}}
|
|
5084
|
+
\newcommand{\arabvec}[1]{\butexreflect{$\vec{\butexreflect{$#1$}}$}}
|
|
5082
5085
|
|
|
5083
5086
|
\newcommand{\arabexp}[1]{{}^{#1}\!\raisebox{-4.5pt}{\text{\diwani{ه}}}}
|
|
5084
5087
|
\newcommand{\arablog}[2]{\left(\text{#2}\right)\!\prescript{}{\text{#1}}{\text{\diwani{لو}}}}
|
|
@@ -5126,9 +5129,9 @@ function arabicXeLatexPreambleCmd() {
|
|
|
5126
5129
|
\newcommand{\araboddde}[2][-5pt]{\stackrel{\raisebox{#1}{$\vcenter{\hbox{$\cdot\!\cdot\!\cdot$}}$}}{\text{#2}}}
|
|
5127
5130
|
\newcommand{\arabpde}[1]{\prescript{}{#1\!\!}{\nabla}} % arabic partial differential equation (PDE)
|
|
5128
5131
|
|
|
5129
|
-
\newcommand{\arabprime}[0]{\
|
|
5130
|
-
\newcommand{\arabpprime}[0]{\
|
|
5131
|
-
\newcommand{\arabppprime}[0]{\
|
|
5132
|
+
\newcommand{\arabprime}[0]{\butexreflect{$\prime$}\!} % arabic prime notation
|
|
5133
|
+
\newcommand{\arabpprime}[0]{\butexreflect{$\prime$}\butexreflect{$\prime$}\!} % arabic prime notation
|
|
5134
|
+
\newcommand{\arabppprime}[0]{\butexreflect{$\prime$}\butexreflect{$\prime$}\butexreflect{$\prime$}\!} % arabic prime notation
|
|
5132
5135
|
|
|
5133
5136
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
5134
5137
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
@@ -5148,7 +5151,7 @@ function arabicXeLatexPreambleCmd() {
|
|
|
5148
5151
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
5149
5152
|
|
|
5150
5153
|
|
|
5151
|
-
\newcommand{\arsqrt}[2][]{\
|
|
5154
|
+
\newcommand{\arsqrt}[2][]{\butexreflect{\(\sqrt[\butexreflect{\(#1\)}]{\butexreflect{\(#2\)}}\)}}
|
|
5152
5155
|
\newcommand{\arexp}[0]{\!\raisebox{-4.5pt}{\text{\diwani{ه}}}}
|
|
5153
5156
|
\newcommand{\arlog}[0]{\!\!\text{\diwani{لو}}}
|
|
5154
5157
|
\newcommand{\arln}[0]{\!\!\prescript{}{\text{\diwani{ه}}}{\text{\diwani{لو}}}}
|