Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-nccmath.sty

raw
1 %%
2 %% This is file `lwarp-nccmath.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `nccmath')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18 \LWR@ProvidesPackagePass{nccmath}[2006/01/20]
19 \let\LWR@origeqnarray\eqnarray
20 \let\LWR@origendeqnarray\endeqnarray
21
22 \csletcs{LWR@origeqnarraystar}{eqnarray*}
23 \csletcs{LWR@origendeqnarraystar}{endeqnarray*}
24
25 \RenewEnviron{eqnarray}
26 {%
27
28 \LWR@eqnarrayfactor
29
30 }
31
32 \RenewEnviron{eqnarray*}
33 {%
34
35 \begingroup
36 \csletcs{LWR@origeqnarray}{LWR@origeqnarraystar}
37 \csletcs{LWR@origendeqnarray}{LWR@origendeqnarraystar}
38 \boolfalse{LWR@numbereqnarray}
39 \LWR@eqnarrayfactor
40 \endgroup
41
42 }
43
44 \def\eqs{%
45 \@ifstar\LWR@nccmath@eqsstar\LWR@nccmath@eqs%
46 }
47 \newcommand*{\LWR@nccmath@eqsstar}[2][]{\begin{eqnarray*}#2\end{eqnarray*}}
48 \newcommand*{\LWR@nccmath@eqs}[2][]{\begin{eqnarray}#2\end{eqnarray}}
49
50 \begin{warpMathJax}
51 \CustomizeMathJax{\renewcommand{\intertext}[2][]{\text{#2}\notag \\}}
52 \CustomizeMathJax{\newenvironment{fleqn}[1][]{}{}}
53 \CustomizeMathJax{\newenvironment{ceqn}{}{}}
54 \CustomizeMathJax{\newenvironment{darray}[2][c]{\begin{array}[#1]{#2}}{\end{array}}}
55 \CustomizeMathJax{\newcommand{\dmulticolumn}[3]{#3}}
56 \CustomizeMathJax{\newcommand{\LWRnrnostar}[1][0.5ex]{\\[#1]}}
57 \CustomizeMathJax{\newcommand{\nr}{\ifstar\LWRnrnostar\LWRnrnostar}}
58
59 \CustomizeMathJax{\newcommand{\mrel}[1]{\begin{aligned}#1\end{aligned}}}
60 \CustomizeMathJax{\newcommand{\underrel}[2]{\underset{#2}{#1}}}
61 \CustomizeMathJax{\newcommand{\medmath}[1]{#1}}
62 \CustomizeMathJax{\newcommand{\medop}[1]{#1}}
63 \CustomizeMathJax{\newcommand{\medint}[1]{#1}}
64 \CustomizeMathJax{\newcommand{\medintcorr}[1]{#1}}
65 \CustomizeMathJax{\newcommand{\mfrac}[2]{\frac{#1}{#2}}}
66 \CustomizeMathJax{\newcommand{\mbinom}[2]{\binom{#1}{#2}}}
67 \CustomizeMathJax{\newenvironment{mmatrix}{\begin{matrix}}{\end{matrix}}}
68 \CustomizeMathJax{\newcommand{\displaybreak}[1][]{}}
69 \end{warpMathJax}
70
71 \endinput
72 %%
73 %% End of file `lwarp-nccmath.sty'.