diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-13 20:09:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-13 20:09:08 +0000 |
commit | 70913b0b6d5f98d188b67ed45facb70914de8fcc (patch) | |
tree | 11873032dc20dab21cedc5490cec99677b5c56b6 /Master/texmf-dist/tex/latex/minimalist | |
parent | cdf5616cb0197dbd6acad760f46c9cc81e34664e (diff) |
jxu (13jul21)
git-svn-id: svn://tug.org/texlive/trunk@59923 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 | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/minimalist/minimart.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/minimalist/minimbook.cls | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist.sty index 6b11172530f..a50f03497d6 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/07/05 A simple and clear style for articles and books] + [2021/07/13 A simple and clear style for articles and books] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{% @@ -156,7 +156,7 @@ \renewcommand{\chaptermark}[1]{\markboth{\textsc{#1}}{\textsc{#1}}} \fi \renewcommand*{\sectionmark}[1]{% - \markright{\sec@decochar~\thesection~\sec@decochar~~~#1}} + \markright{\sec@decochar~\arabic{section}~\sec@decochar~~~#1}} }{ \if@twoside \renewcommand*{\sectionmark}[1]{\markboth{\textsc{#1}}{}} @@ -322,7 +322,6 @@ } %% Section -\renewcommand\thesection{\arabic{section}} \if@minimalist@classical \newcommand\sec@decochar{} \titleformat{\section} @@ -332,15 +331,16 @@ {#1} [\ResumeLineNumbers] \else +\renewcommand\thesection{\arabic{section}} \newcommand\seculine{\bgroup\markoverwith{\color{maintext!27!paper}% \rule[-0.9ex]{2pt}{.6pt}\hspace{-2pt}\rule[-1.2ex]{2pt}{.6pt}}\ULon} -\newcommand\sec@decochar{\raisebox{.03em}{\normalfont\footnotesize/}} +\newcommand\sec@decochar{\raisebox{.03em}{\normalfont/}} \titleformat{\section} {\LocallyStopLineNumbers% \secfont\centering}{}{0em} - {{\small\textcolor{maintext!27!paper}{\sec@decochar}% + {{\small\textcolor{maintext!27!paper}{\footnotesize\sec@decochar}% \,\,\textcolor{maintext!90!paper}{\conditionalbfseries\arabic{section}}% - \,\,\textcolor{maintext!27!paper}{\sec@decochar}}\\ + \,\,\textcolor{maintext!27!paper}{\footnotesize\sec@decochar}}\\ \seculine{#1}} [\ResumeLineNumbers] \titleformat{name=\section,numberless} @@ -352,8 +352,6 @@ \fi %% Subsection -\renewcommand\thesubsection{% - \ifnum\c@section=0\else\arabic{section}.\fi\arabic{subsection}} \if@minimalist@classical \titleformat{\subsection} {\LocallyStopLineNumbers% @@ -362,6 +360,8 @@ {#1} [\ResumeLineNumbers] \else +\renewcommand\thesubsection{% + \ifnum\c@section=0\else\arabic{section}.\fi\arabic{subsection}} \newcommand\subseculine{\bgroup\markoverwith{\color{maintext!27!paper}% \rule[-1ex]{2pt}{.75pt}}\ULon} \titleformat{\subsection} @@ -404,7 +404,7 @@ \titlecontents{part} [0em] {\addvspace{1.5pc}\filcenter\normalfont} - {\thecontentslabel\\\uppercase} + {\thecontentslabel\nopagebreak\\\nopagebreak\uppercase} {} {} % without page number [\addvspace{.5pc}] @@ -418,8 +418,8 @@ \titlecontents{section} [4em] % i.e., 2em (chapter) + 2em {\normalfont} - {\contentslabel{1.75em}} - {\hspace*{-1.75em}} + {\contentslabel[\textcolor{maintext!27!paper}{\small\sec@decochar}\,\textcolor{maintext!90!paper}{\thecontentslabel}\,\textcolor{maintext!27!paper}{\small\sec@decochar}]{2em}} + {\hspace*{-2em}} {\titlerule*[1em]{\textcolor{maintext!15!paper}{.}}\contentspage} \titlecontents{subsection} [6.5em] % i.e., 4em (section) + 2.5em diff --git a/Master/texmf-dist/tex/latex/minimalist/minimart.cls b/Master/texmf-dist/tex/latex/minimalist/minimart.cls index 592cd146a2b..6adab5ca9a2 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/07/05 A simple and clear article style] + [2021/07/13 A simple and clear article style] \def\minimclass@baseclass{article} \RequirePackage{kvoptions} \RequirePackage{etoolbox} diff --git a/Master/texmf-dist/tex/latex/minimalist/minimbook.cls b/Master/texmf-dist/tex/latex/minimalist/minimbook.cls index 7f5ed517508..e804b013763 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/07/05 A simple and clear book style] + [2021/07/13 A simple and clear book style] \def\minimclass@baseclass{book} \RequirePackage{kvoptions} \RequirePackage{etoolbox} |