summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/minimalist/minimalist.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-24 21:02:12 +0000
committerKarl Berry <karl@freefriends.org>2021-10-24 21:02:12 +0000
commitf6bbe90c82a89c41229b1aa9707b0bcecc767206 (patch)
tree66f2b5ee686de9c4186e1c87afb13f228b108e12 /Master/texmf-dist/tex/latex/minimalist/minimalist.sty
parent18fc5a795946eeb8ae9cf525063efea3e37a5602 (diff)
jxu (24oct21)
git-svn-id: svn://tug.org/texlive/trunk@60863 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/minimalist/minimalist.sty')
-rw-r--r--Master/texmf-dist/tex/latex/minimalist/minimalist.sty21
1 files changed, 14 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist.sty
index 1892b05e4a8..953342a21c4 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/08/11 A simple and clear style for articles and books]
+ [2021/10/23 A simple and clear style for articles and books]
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
\SetupKeyvalOptions{%
@@ -482,13 +482,20 @@
\RequirePackage{enumitem}
\setlist{noitemsep}
\setlist[enumerate]{labelsep=*, leftmargin=*}
-\setlist[enumerate,1]{label = \arabic*.,
- ref = \arabic*}
-\setlist[enumerate,2]{label = \emph{\alph*}),
- ref = \theenumi.\emph{\alph*}}
-\setlist[enumerate,3]{label = (\roman*),
- ref = \theenumii.\roman*}
+\setlist[enumerate,1]{label=\arabic*$)$,
+ ref = \arabic*$)$}
+\setlist[enumerate,2]{label=\emph{\roman*}$)$,
+ ref = \arabic{enumi}.\emph{\roman*}$)$}
+\setlist[enumerate,3]{label=\emph{\alph*}$)$,
+ ref = \arabic{enumi}.\emph{\roman{enumii}}.\emph{\alph*}$)$}
\setlist[description]{font=\normalfont\conditionalbfseries}
+\if@minimalist@classical
+\newcommand\desculine{\bgroup\markoverwith{\color{maintext!27!paper}%
+ \rule[-.45ex]{2pt}{.75pt}}\ULon}
+\renewcommand{\descriptionlabel}[1]{%
+ \hspace{\labelsep}\normalfont\desculine{#1}%
+}
+\fi
\setlist[itemize]{leftmargin=*}
\gappto{\PJLlang@langconfig@common}{\setlist[itemize,1]{label=\textcolor{maintext!25}{$\bullet$}}}