summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mindflow
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-17 22:40:34 +0000
committerKarl Berry <karl@freefriends.org>2021-12-17 22:40:34 +0000
commitfd596d3ce1af4a6aa8224afac5525e639a32a67a (patch)
tree43a70e0452273bc0989eb7a6c7ad515f02e95b0d /Master/texmf-dist/tex/latex/mindflow
parent7a3cf7246192fea096bd094f8bed55cf879a458a (diff)
jxu (17dec21)
git-svn-id: svn://tug.org/texlive/trunk@61338 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mindflow')
-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'.