diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty index 6623857b95a..71cc4b5c2a2 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsmath.sty @@ -16,6 +16,8 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{amsmath}[2017/09/02] +\newcommand*{\LWR@HTML@dotso}{\textellipsis\ } +\LWR@formatted{dotso} \def\maketag@@@#1{\text{#1}} \def\tagform@#1{\maketag@@@{(\ignorespaces#1\unskip)}} @@ -45,7 +47,7 @@ } \LWR@newautoidanchor% \booltrue{LWR@indisplaymathimage}% - \begin{lateximage}[\LWR@amsmathbodynumbered{#1}]* + \begin{lateximage}[\LWR@amsmathbodynumbered{#2}]*% \LWR@applyxfakebold% } \NewDocumentCommand{\LWR@amsmathenv@before}{s m}{% @@ -125,8 +127,23 @@ \BeforeBeginEnvironment{alignat*}{\LWR@amsmathenv@before*{alignat*}} \AfterEndEnvironment{alignat*}{\LWR@amsmathenv@after*{alignat*}} +\AtBeginEnvironment{subequations}{ + \renewcommand*{\theMathJaxsubequations}{1} + \renewcommand*{\theMathJaxsection}{\theparentequation} + \renewcommand*{\theMathJaxequation}{\arabic{equation}} +} \begin{warpMathJax} \CustomizeMathJax{\newcommand{\intertext}[1]{\text{#1}\notag \\}} +\CustomizeMathJax{\let\Hat\hat} +\CustomizeMathJax{\let\Check\check} +\CustomizeMathJax{\let\Tilde\tilde} +\CustomizeMathJax{\let\Acute\acute} +\CustomizeMathJax{\let\Grave\grave} +\CustomizeMathJax{\let\Dot\dot} +\CustomizeMathJax{\let\Ddot\ddot} +\CustomizeMathJax{\let\Breve\breve} +\CustomizeMathJax{\let\Bar\bar} +\CustomizeMathJax{\let\Vec\vec} \end{warpMathJax} \endinput %% |