summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mindflow/mindflow.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mindflow/mindflow.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mindflow/mindflow.sty36
1 files changed, 2 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/mindflow/mindflow.sty b/Master/texmf-dist/tex/latex/mindflow/mindflow.sty
index 94a9cf656e7..f489e98c407 100644
--- a/Master/texmf-dist/tex/latex/mindflow/mindflow.sty
+++ b/Master/texmf-dist/tex/latex/mindflow/mindflow.sty
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mindflow}
- [2021/09/15 mindflow environment]
+ [2021/12/16 mindflow environment]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{%
family = @mindflow,
@@ -45,7 +45,7 @@
%%================================
%% Initialization
%%================================
-\RequirePackage{lineno}
+\RequirePackage{linenoamsmath}
\RequirePackage{xcolor}
\colorlet{mfSavedColor}{.}
@@ -249,38 +249,6 @@
\newcommand{\mindflowset}[1]{%
\setkeys{mindflow}{#1}%
}
-
-%%================================
-%% lineno patch
-%%================================
-\ifdefined\linenomathpatch\else
- \RequirePackage{amsmath}
- \RequirePackage{etoolbox}
- \newcommand*\linenomathpatch[1]{%
- \cspreto{#1}{\linenomath}%
- \cspreto{#1*}{\linenomath}%
- \csappto{end#1}{\endlinenomath}%
- \csappto{end#1*}{\endlinenomath}%
- }
- \newcommand*\linenomathpatchAMS[1]{%
- \cspreto{#1}{\linenomathAMS}%
- \cspreto{#1*}{\linenomathAMS}%
- \csappto{end#1}{\endlinenomath}%
- \csappto{end#1*}{\endlinenomath}%
- }
- \expandafter\ifx\linenomath\linenomathWithnumbers
- \let\linenomathAMS\linenomathWithnumbers
- \patchcmd\linenomathAMS{\advance\postdisplaypenalty\linenopenalty}{}{}{}
- \else
- \let\linenomathAMS\linenomathNonumbers
- \fi
- \linenomathpatch{equation}
- \linenomathpatchAMS{gather}
- \linenomathpatchAMS{multline}
- \linenomathpatchAMS{align}
- \linenomathpatchAMS{alignat}
- \linenomathpatchAMS{flalign}
-\fi
\endinput
%%
%% End of file `mindflow.sty'.