texlive[58304] branches/branch2020.0/Master/texmf-dist: mindflow

commits+karl at tug.org commits+karl at tug.org
Sat Mar 13 00:03:24 CET 2021


Revision: 58304
          http://tug.org/svn/texlive?view=revision&revision=58304
Author:   karl
Date:     2021-03-13 00:03:24 +0100 (Sat, 13 Mar 2021)
Log Message:
-----------
mindflow (12mar21) (branch)

Modified Paths:
--------------
    branches/branch2020.0/Master/texmf-dist/doc/latex/mindflow/mindflow.pdf
    branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.dtx
    branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.ins
    branches/branch2020.0/Master/texmf-dist/tex/latex/mindflow/mindflow.sty

Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/mindflow/mindflow.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.dtx	2021-03-12 23:03:09 UTC (rev 58303)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.dtx	2021-03-12 23:03:24 UTC (rev 58304)
@@ -4,14 +4,11 @@
 % -------------------------------
 % 
 % This file may be distributed and/or modified under the conditions of the LaTeX
-% Project Public License, either version 1.3 of this license or (at your option)
+% 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.
-%
 % \fi
 %
 % \iffalse
@@ -21,7 +18,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{mindflow}
 %<*package>
-    [2021/03/11 Mindflow environment]
+    [2021/03/12 Mindflow environment]
 %</package>
 %
 %<*driver>
@@ -45,7 +42,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{119}
+% \CheckSum{125}
 %
 % \GetFileInfo{mindflow.dtx}
 %
@@ -114,6 +111,10 @@
 % \verb|\mindflowLeft| and \verb|\mindflowRight|. Both have the default
 % value as ``\verb|*|''.
 %
+% \DescribeMacro{\mindflowLineHeight}
+% The height of the separation line is a length macro named \verb|\mindflowLineHeight|, 
+% with default value \verb|0.4pt|. You can change this with \verb|\setlength|.
+%
 % And finally, the color for texts and line numbers within the \verb|mindflow|
 % environments are called \verb|mindflowText| and \verb|mindflowNum|,
 % respectively. By default, they have the same color as the context, with
@@ -122,23 +123,25 @@
 % \section{An example}
 % With option \verb|linenumber, leftmarker, rightmarker| and the following settings:
 % \begin{verbatim}
-% \colorlet{mindflowText}{blue!50!cyan}
-% \colorlet{mindflowNum}{blue!50!cyan}
-% \renewcommand{\mindflowTextFont}{\footnotesize\sffamily}
-% \renewcommand{\mindflowNumFont}{\footnotesize\sffamily}
+% \colorlet{mindflowText}{blue!50!cyan!80}
+% \colorlet{mindflowNum}{blue!50!cyan!80}
+% \renewcommand{\mindflowTextFont}{\normalfont\footnotesize\sffamily\itshape}
+% \renewcommand{\mindflowNumFont}{\normalfont\footnotesize\sffamily}
 % \renewcommand{\mindflowLeft}{\hspace{1em}\(\succ\)}
 % \renewcommand{\mindflowRight}{\(\prec\)}
+% \setlength{\mindflowLineHeight}{1pt}
 % \end{verbatim}
 % One gets:
 % \makeatletter
 % \@mindflow at leftmarkertrue
 % \makeatother
-% \colorlet{mindflowText}{blue!50!cyan}
-% \colorlet{mindflowNum}{blue!50!cyan}
-% \renewcommand{\mindflowTextFont}{\footnotesize\sffamily}
-% \renewcommand{\mindflowNumFont}{\footnotesize\sffamily}
+% \colorlet{mindflowText}{blue!50!cyan!80}
+% \colorlet{mindflowNum}{blue!50!cyan!80}
+% \renewcommand{\mindflowTextFont}{\normalfont\footnotesize\sffamily\itshape}
+% \renewcommand{\mindflowNumFont}{\normalfont\footnotesize\sffamily}
 % \renewcommand{\mindflowLeft}{\hspace{1em}\(\succ\)}
 % \renewcommand{\mindflowRight}{\(\prec\)}
+% \setlength{\mindflowLineHeight}{1pt}
 % \begin{mindflow}
 %     \blindtext
 % \end{mindflow}
@@ -181,6 +184,8 @@
 \newcommand{\mindflowNumFont}{\normalfont\scriptsize\ttfamily}
 \newcommand{\mindflowLeft}{*}
 \newcommand{\mindflowRight}{*}
+\newlength{\mindflowLineHeight}
+\setlength{\mindflowLineHeight}{0.4pt}
 
 %%================================
 %% The mindflow environment
@@ -193,9 +198,9 @@
   \ifLineNumbers\LNturnsONtrue\fi\nolinenumbers%
   \par\noindent\nopagebreak%
   \if at 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%
@@ -212,8 +217,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}%
@@ -236,8 +241,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
 %    \end{macrocode}

Modified: branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.ins
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.ins	2021-03-12 23:03:09 UTC (rev 58303)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/mindflow/mindflow.ins	2021-03-12 23:03:24 UTC (rev 58304)
@@ -2,14 +2,11 @@
 %% 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.
 %%
 
 \input docstrip.tex
@@ -23,15 +20,12 @@
 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.
-
 \endpreamble
 
 \generate{\file{mindflow.sty}{\from{mindflow.dtx}{package}}}

Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/mindflow/mindflow.sty
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/mindflow/mindflow.sty	2021-03-12 23:03:09 UTC (rev 58303)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/mindflow/mindflow.sty	2021-03-12 23:03:24 UTC (rev 58304)
@@ -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 at 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



More information about the tex-live-commits mailing list.