diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/mindflow/mindflow.sty | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/mindflow/mindflow.sty b/Master/texmf-dist/tex/latex/mindflow/mindflow.sty index 4417c90b56f..13f8f51f2ee 100644 --- a/Master/texmf-dist/tex/latex/mindflow/mindflow.sty +++ b/Master/texmf-dist/tex/latex/mindflow/mindflow.sty @@ -9,18 +9,15 @@ %% Copyright (C) 2021 by Jinwen XU %% %% This file may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License, either version 1.3 of this license +%% the LaTeX Project Public License, either version 1.3c of this license %% or (at your option) any later version. The latest version of this %% license is in: %% %% 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. -%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{mindflow} - [2021/03/11 Mindflow environment] + [2021/03/12 Mindflow environment] \RequirePackage{kvoptions} @@ -55,6 +52,8 @@ \newcommand{\mindflowNumFont}{\normalfont\scriptsize\ttfamily} \newcommand{\mindflowLeft}{*} \newcommand{\mindflowRight}{*} +\newlength{\mindflowLineHeight} +\setlength{\mindflowLineHeight}{0.4pt} %%================================ %% The mindflow environment @@ -67,9 +66,9 @@ \ifLineNumbers\LNturnsONtrue\fi\nolinenumbers% \par\noindent\nopagebreak% \if@mindflow@incolumn% - \makebox[\linewidth]{\rule{\linewidth}{0.4pt}}% + \makebox[\linewidth]{\rule{\linewidth}{\mindflowLineHeight}}% \else% - \hspace*{-\paperwidth}\makebox[\linewidth]{\rule{4\paperwidth}{0.4pt}}% + \hspace*{-\paperwidth}\makebox[\linewidth]{\rule{4\paperwidth}{\mindflowLineHeight}}% \fi% \nopagebreak\par% \ifLNturnsON\linenumbers\fi% @@ -86,8 +85,8 @@ \else \newenvironment{mindflow} {% - \setcounter{recordLN}{\value{linenumber}} - \setcounter{linenumber}{\value{mfLN}} + \setcounter{recordLN}{\value{linenumber}}% + \setcounter{linenumber}{\value{mfLN}}% \LNturnsONfalse% \ifLineNumbers\LNturnsONtrue\fi\nolinenumbers% \mindflowTextFont\color{mindflowText}% @@ -110,8 +109,8 @@ \par% \vspace{-.5\baselineskip}\mfSepLine% \ifLNturnsON\linenumbers\fi% - \setcounter{mfLN}{\value{linenumber}} - \setcounter{linenumber}{\value{recordLN}} + \setcounter{mfLN}{\value{linenumber}}% + \setcounter{linenumber}{\value{recordLN}}% } \fi \endinput |