diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/mindflow/mindflow.pdf | bin | 154231 -> 168685 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/mindflow/mindflow.dtx | 45 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mindflow/mindflow.ins | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mindflow/mindflow.sty | 21 |
4 files changed, 37 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/latex/mindflow/mindflow.pdf b/Master/texmf-dist/doc/latex/mindflow/mindflow.pdf Binary files differindex ba0e1134164..b9448dbd483 100644 --- a/Master/texmf-dist/doc/latex/mindflow/mindflow.pdf +++ b/Master/texmf-dist/doc/latex/mindflow/mindflow.pdf diff --git a/Master/texmf-dist/source/latex/mindflow/mindflow.dtx b/Master/texmf-dist/source/latex/mindflow/mindflow.dtx index 9f7e2adc98f..43fadef53e1 100644 --- a/Master/texmf-dist/source/latex/mindflow/mindflow.dtx +++ b/Master/texmf-dist/source/latex/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 @@ %<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@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/Master/texmf-dist/source/latex/mindflow/mindflow.ins b/Master/texmf-dist/source/latex/mindflow/mindflow.ins index fdc7beb6d75..ca666a6c654 100644 --- a/Master/texmf-dist/source/latex/mindflow/mindflow.ins +++ b/Master/texmf-dist/source/latex/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/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 |