From c7a6ddbdf2fbce5333cf3052b2a94de9e31db193 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Mar 2021 23:03:24 +0000 Subject: mindflow (12mar21) (branch) git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58304 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/mindflow/mindflow.sty | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/latex/mindflow') 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 -- cgit v1.2.3