summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty
index 5e2669efd9d..b778c2fb9b3 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-witharrows.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `witharrows')
%% This is a generated file.
-%% Copyright 2016-2022 Brian Dunn
+%% Copyright 2016-2025 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -15,13 +15,13 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
+%%
-\LWR@ProvidesPackagePass{witharrows}[2019/12/27]
+\LWR@ProvidesPackagePass{witharrows}[2024/10/19]
\ifbool{mathjax}{
- % For the hidden print version in the HTML:
\newcommand{\Arrow}[2][]{}
\newcommand{\unicode}[1]{}
- \NewDocumentEnvironment { DispWithArrows } { ! d < > ! O { } +b}
+ \NewDocumentEnvironment { LWR@HTML@DispWithArrows } { ! d < > ! O { } +b}
{
\IfValueTF{#1}{
\begin{displaymath}
@@ -40,7 +40,8 @@
}
}
{}
- \NewDocumentEnvironment { DispWithArrows* } { ! d < > ! O { } +b}
+ \LWR@formattedenv{DispWithArrows}
+ \NewDocumentEnvironment { LWR@HTML@DispWithArrows* } { ! d < > ! O { } +b}
{
\IfValueTF{#1}{
\begin{displaymath}
@@ -59,8 +60,9 @@
}
}
{}
-}{
- % If not MathJax, use SVG images.
+ \LWR@formattedenv{DispWithArrows*}
+}% MathJax
+{% SVG
\BeforeBeginEnvironment{WithArrows}{\global\booltrue{LWR@unknownmathsize}}
\BeforeBeginEnvironment{DispWithArrows}{%
\begin{BlockClass}{displaymathnumbered}%
@@ -72,8 +74,7 @@
\begin{lateximage}%
}
\AfterEndEnvironment{DispWithArrows*}{\end{lateximage}\end{BlockClass}}
-}
-
+}% SVG
\begin{warpMathJax}
\CustomizeMathJax{\newenvironment{WithArrows}[1][]{\begin{aligned}}{\end{aligned}}}
\CustomizeMathJax{\newcommand{\Arrow}[2][]{&{\Large\unicode{x2938}}~\textit{#2}}}