summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mindflow
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-01 22:10:09 +0000
committerKarl Berry <karl@freefriends.org>2022-02-01 22:10:09 +0000
commitff3441c1df98245bcd7dbdc8b21dd5621728782c (patch)
tree3a79e86dab9a535f0794b11ab2f8acc7508ac212 /Master/texmf-dist/tex/latex/mindflow
parentc64b76557cb363f0c2990ee6a72dd2f8cf231af4 (diff)
mindflow (1feb22)
git-svn-id: svn://tug.org/texlive/trunk@61843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mindflow')
-rw-r--r--Master/texmf-dist/tex/latex/mindflow/mindflow.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/mindflow/mindflow.sty b/Master/texmf-dist/tex/latex/mindflow/mindflow.sty
index f489e98c407..567d4bbaa32 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/12/16 mindflow environment]
+ [2022/01/31 The mindflow environment]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{%
family = @mindflow,
@@ -32,6 +32,7 @@
\DeclareBoolOption[false]{rightlinenumber} % Right line numbers
\DeclareBoolOption[false]{incolumn} % Separation line fits in column
\DeclareBoolOption[false]{nonbreakable} % Use the tcolorbox version
+\DeclareBoolOption[false]{mathlines} % Add line numbers to equations
\ProcessKeyvalOptions*\relax
@@ -41,6 +42,9 @@
\if@mindflow@linenumber
\@mindflow@leftlinenumbertrue
\fi
+\if@mindflow@mathlines
+ \PassOptionsToPackage{mathlines}{lineno}
+\fi
%%================================
%% Initialization
@@ -246,6 +250,7 @@
\define@key{mindflow}{left}{\renewcommand{\mindflowLeft}{#1}}
\define@key{mindflow}{right}{\renewcommand{\mindflowRight}{#1}}
\define@key{mindflow}{lineheight}{\setlength{\mindflowLineHeight}{#1}}
+
\newcommand{\mindflowset}[1]{%
\setkeys{mindflow}{#1}%
}