@drghaliasri/butex 5.4.3 → 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 +12 -8
- package/dist/document2.js.map +1 -1
- package/dist/document2.mjs +12 -8
- package/dist/document2.mjs.map +1 -1
- package/dist/react-document2.js +12 -8
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +12 -8
- package/dist/react-document2.mjs.map +1 -1
- package/package.json +1 -1
package/dist/document2.js
CHANGED
|
@@ -5006,15 +5006,16 @@ 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
|
-
\usepackage{graphicx} % For \
|
|
5012
|
+
\usepackage{graphicx} % For \butexreflect
|
|
5012
5013
|
\usepackage{xcolor}
|
|
5013
5014
|
\usepackage{tikz}
|
|
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
|
|
@@ -5076,8 +5077,11 @@ function arabicXeLatexPreambleCmd() {
|
|
|
5076
5077
|
\newcommand{\vertbar}{\rule[-1ex]{0.5pt}{2.5ex}}
|
|
5077
5078
|
\newcommand{\horzbar}{\rule[.5ex]{2.5ex}{0.5pt}}
|
|
5078
5079
|
|
|
5079
|
-
|
|
5080
|
-
\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$}}$}}
|
|
5081
5085
|
|
|
5082
5086
|
\newcommand{\arabexp}[1]{{}^{#1}\!\raisebox{-4.5pt}{\text{\diwani{ه}}}}
|
|
5083
5087
|
\newcommand{\arablog}[2]{\left(\text{#2}\right)\!\prescript{}{\text{#1}}{\text{\diwani{لو}}}}
|
|
@@ -5125,9 +5129,9 @@ function arabicXeLatexPreambleCmd() {
|
|
|
5125
5129
|
\newcommand{\araboddde}[2][-5pt]{\stackrel{\raisebox{#1}{$\vcenter{\hbox{$\cdot\!\cdot\!\cdot$}}$}}{\text{#2}}}
|
|
5126
5130
|
\newcommand{\arabpde}[1]{\prescript{}{#1\!\!}{\nabla}} % arabic partial differential equation (PDE)
|
|
5127
5131
|
|
|
5128
|
-
\newcommand{\arabprime}[0]{\
|
|
5129
|
-
\newcommand{\arabpprime}[0]{\
|
|
5130
|
-
\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
|
|
5131
5135
|
|
|
5132
5136
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
5133
5137
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
@@ -5147,7 +5151,7 @@ function arabicXeLatexPreambleCmd() {
|
|
|
5147
5151
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
5148
5152
|
|
|
5149
5153
|
|
|
5150
|
-
\newcommand{\arsqrt}[2][]{\
|
|
5154
|
+
\newcommand{\arsqrt}[2][]{\butexreflect{\(\sqrt[\butexreflect{\(#1\)}]{\butexreflect{\(#2\)}}\)}}
|
|
5151
5155
|
\newcommand{\arexp}[0]{\!\raisebox{-4.5pt}{\text{\diwani{ه}}}}
|
|
5152
5156
|
\newcommand{\arlog}[0]{\!\!\text{\diwani{لو}}}
|
|
5153
5157
|
\newcommand{\arln}[0]{\!\!\prescript{}{\text{\diwani{ه}}}{\text{\diwani{لو}}}}
|