diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-17 22:40:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-17 22:40:34 +0000 |
commit | fd596d3ce1af4a6aa8224afac5525e639a32a67a (patch) | |
tree | 43a70e0452273bc0989eb7a6c7ad515f02e95b0d /Master/texmf-dist/tex/latex/minimalist | |
parent | 7a3cf7246192fea096bd094f8bed55cf879a458a (diff) |
jxu (17dec21)
git-svn-id: svn://tug.org/texlive/trunk@61338 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/minimalist')
-rw-r--r-- | Master/texmf-dist/tex/latex/minimalist/minimalist.sty | 45 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/minimalist/minimart.cls | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/minimalist/minimbook.cls | 6 |
3 files changed, 10 insertions, 47 deletions
diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist.sty index 418ffb55e4d..85a64926d67 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{minimalist} - [2021/11/09 A simple and clear style for articles and books] + [2021/12/16 A simple and clear style for articles and books] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{% @@ -198,40 +198,10 @@ %% Line numbers %%================================ \PassOptionsToPackage{pagewise,mathlines}{lineno} -\RequirePackage{lineno} +\RequirePackage{linenoamsmath} \renewcommand\linenumberfont{\ttfamily\color{maintext!7!paper}\footnotesize} \setlength\linenumbersep{1em} -\RequirePackage{mathtools} - -\ifdefined\linenomathpatch\else -\newcommand*\linenomathpatch[1]{% - \cspreto{#1}{\linenomath}% - \cspreto{#1*}{\linenomath}% - \csappto{end#1}{\endlinenomath}% - \csappto{end#1*}{\endlinenomath}% -} -\newcommand*\linenomathpatchAMS[1]{% - \cspreto{#1}{\linenomathAMS}% - \cspreto{#1*}{\linenomathAMS}% - \csappto{end#1}{\endlinenomath}% - \csappto{end#1*}{\endlinenomath}% -} -\expandafter\ifx\linenomath\linenomathWithnumbers - \let\linenomathAMS\linenomathWithnumbers - \patchcmd\linenomathAMS{\advance\postdisplaypenalty\linenopenalty}{}{}{} -\else - \let\linenomathAMS\linenomathNonumbers -\fi - -\linenomathpatch{equation} -\linenomathpatchAMS{gather} -\linenomathpatchAMS{multline} -\linenomathpatchAMS{align} -\linenomathpatchAMS{alignat} -\linenomathpatchAMS{flalign} -\fi - \newif\ifLNturnsON \def\LocallyStopLineNumbers{\LNturnsONfalse% \ifLineNumbers\LNturnsONtrue\fi\nolinenumbers} @@ -490,7 +460,7 @@ ref = \arabic{enumi}.\emph{\roman{enumii}}.\emph{\alph*}$)$} \setlist[description]{font=\normalfont\conditionalbfseries} \if@minimalist@classical -\newcommand\desculine{\bgroup\markoverwith{\color{maintext!27!paper}% +\newcommand\desculine{\colorlet{currentcolor}{.}\bgroup\markoverwith{\color{currentcolor!50!paper}% \rule[-.45ex]{2pt}{.75pt}}\ULon} \renewcommand{\descriptionlabel}[1]{% \hspace{\labelsep}\normalfont\desculine{#1}% @@ -498,10 +468,10 @@ \fi \setlist[itemize]{leftmargin=*} -\gappto{\PJLlang@langconfig@common}{\setlist[itemize,1]{label=\textcolor{maintext!25}{$\bullet$}}} -\gappto{\PJLlang@langconfig@FR}{\setlist[itemize,1]{label=\textcolor{maintext!50}{---}}} -\setlist[itemize,2]{label=\textcolor{maintext!27}{--}} -\setlist[itemize,3]{label=\textcolor{maintext!27}{\texttt{*}}} +\gappto{\PJLlang@langconfig@common}{\setlist[itemize,1]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!27!paper}{$\bullet$}}} +\gappto{\PJLlang@langconfig@FR}{\setlist[itemize,1]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!50!paper}{---}}} +\setlist[itemize,2]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!27!paper}{--}} +\setlist[itemize,3]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!27!paper}{\texttt{*}}} %%================================ %% Blank page @@ -525,6 +495,7 @@ %%================================ %% Theorems %%================================ +\RequirePackage{mathtools} \RequirePackage{amsthm} \if@minimalist@classical \def\simpleqedsymbol{% diff --git a/Master/texmf-dist/tex/latex/minimalist/minimart.cls b/Master/texmf-dist/tex/latex/minimalist/minimart.cls index f3193c183b3..e671b25d658 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimart.cls +++ b/Master/texmf-dist/tex/latex/minimalist/minimart.cls @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesClass{minimart} - [2021/11/09 A simple and clear article style] + [2021/12/16 A simple and clear article style] \def\minimclass@baseclass{article} \RequirePackage{kvoptions} \RequirePackage{etoolbox} @@ -213,10 +213,6 @@ \PassOptionsToPackage{verbose=silent}{microtype} \RequirePackage{microtype} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\scshape}\microtypesetup{reactivate}}} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\bfseries\scshape}\microtypesetup{reactivate}}} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\sffamily\scshape}\microtypesetup{reactivate}}} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\ttfamily\scshape}\microtypesetup{reactivate}}} \PassOptionsToPackage{all}{nowidow} \RequirePackage{nowidow} \RequirePackage{embrac} diff --git a/Master/texmf-dist/tex/latex/minimalist/minimbook.cls b/Master/texmf-dist/tex/latex/minimalist/minimbook.cls index d67e657c159..384451f8f1a 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimbook.cls +++ b/Master/texmf-dist/tex/latex/minimalist/minimbook.cls @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesClass{minimbook} - [2021/11/09 A simple and clear book style] + [2021/12/16 A simple and clear book style] \def\minimclass@baseclass{book} \RequirePackage{kvoptions} \RequirePackage{etoolbox} @@ -213,10 +213,6 @@ \PassOptionsToPackage{verbose=silent}{microtype} \RequirePackage{microtype} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\scshape}\microtypesetup{reactivate}}} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\bfseries\scshape}\microtypesetup{reactivate}}} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\sffamily\scshape}\microtypesetup{reactivate}}} -\AtEndPreamble{\AtBeginDocument{\microtypesetup{deactivate}{\ttfamily\scshape}\microtypesetup{reactivate}}} \PassOptionsToPackage{all}{nowidow} \RequirePackage{nowidow} \RequirePackage{embrac} |