From 2a899339df4bb55e3aa0d5b7a4975b1743341e17 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 13 Mar 2021 03:01:14 +0000 Subject: CTAN sync 202103130301 --- macros/latex/contrib/mindflow/mindflow.dtx | 45 ++++++++++++++++------------- macros/latex/contrib/mindflow/mindflow.ins | 10 ++----- macros/latex/contrib/mindflow/mindflow.pdf | Bin 154231 -> 168685 bytes 3 files changed, 27 insertions(+), 28 deletions(-) (limited to 'macros/latex/contrib/mindflow') diff --git a/macros/latex/contrib/mindflow/mindflow.dtx b/macros/latex/contrib/mindflow/mindflow.dtx index 9f7e2adc98..43fadef53e 100644 --- a/macros/latex/contrib/mindflow/mindflow.dtx +++ b/macros/latex/contrib/mindflow/mindflow.dtx @@ -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 @@ %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{mindflow} %<*package> - [2021/03/11 Mindflow environment] + [2021/03/12 Mindflow environment] % % %<*driver> @@ -45,7 +42,7 @@ % % \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@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@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} diff --git a/macros/latex/contrib/mindflow/mindflow.ins b/macros/latex/contrib/mindflow/mindflow.ins index fdc7beb6d7..ca666a6c65 100644 --- a/macros/latex/contrib/mindflow/mindflow.ins +++ b/macros/latex/contrib/mindflow/mindflow.ins @@ -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}}} diff --git a/macros/latex/contrib/mindflow/mindflow.pdf b/macros/latex/contrib/mindflow/mindflow.pdf index ba0e113416..b9448dbd48 100644 Binary files a/macros/latex/contrib/mindflow/mindflow.pdf and b/macros/latex/contrib/mindflow/mindflow.pdf differ -- cgit v1.2.3