texlive[59509] Master/texmf-dist: colorist (7jun21)
commits+karl at tug.org
commits+karl at tug.org
Mon Jun 7 22:05:15 CEST 2021
Revision: 59509
http://tug.org/svn/texlive?view=revision&revision=59509
Author: karl
Date: 2021-06-07 22:05:15 +0200 (Mon, 07 Jun 2021)
Log Message:
-----------
colorist (7jun21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/colorist/colorist-doc.pdf
trunk/Master/texmf-dist/doc/latex/colorist/colorist-doc.tex
trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls
trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls
trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty
Modified: trunk/Master/texmf-dist/doc/latex/colorist/colorist-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/colorist/colorist-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/colorist/colorist-doc.tex 2021-06-07 20:05:04 UTC (rev 59508)
+++ trunk/Master/texmf-dist/doc/latex/colorist/colorist-doc.tex 2021-06-07 20:05:15 UTC (rev 59509)
@@ -88,7 +88,7 @@
\title{{\normalfont\textbf{\textsf{colorist}}}, write your articles or books in a colorful way}
\author{Jinwen XU}
-\thanks{Corresponding to: \texttt{\colorist{} 2021/06/07}}
+\thanks{Corresponding to: \texttt{\colorist{} 2021/06/07a}}
\date{June 2021, Beijing}
\maketitle
Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls 2021-06-07 20:05:04 UTC (rev 59508)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorart.cls 2021-06-07 20:05:15 UTC (rev 59509)
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesClass{colorart}
- [2021/06/07 A colorful article style]
+ [2021/06/07a A colorful article style]
\def\colorclass at baseclass{article}
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls 2021-06-07 20:05:04 UTC (rev 59508)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorbook.cls 2021-06-07 20:05:15 UTC (rev 59509)
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesClass{colorbook}
- [2021/06/07 A colorful book style]
+ [2021/06/07a A colorful book style]
\def\colorclass at baseclass{book}
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
Modified: trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty 2021-06-07 20:05:04 UTC (rev 59508)
+++ trunk/Master/texmf-dist/tex/latex/colorist/colorist.sty 2021-06-07 20:05:15 UTC (rev 59509)
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesPackage{colorist}
- [2021/06/07 A colorful style for articles and books]
+ [2021/06/07a A colorful style for articles and books]
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
\SetupKeyvalOptions{%
@@ -318,6 +318,12 @@
{\contentslabel{2.75em}}
{\hspace*{-2.75em}}
{\titlerule*[1em]{\textcolor{gray!30!paper}{.}}\color{paper!55!-paper}\contentspage}
+ \titlecontents{subsubsection}
+ [9em] % i.e., 7em (subsection) + 2em
+ {\normalfont\colorist at sffamily}
+ {\contentslabel{2.75em}}
+ {\hspace*{-2.75em}}
+ {\titlerule*[1em]{\textcolor{gray!30!paper}{.}}\contentspage}
}{
\titlecontents{section}
[2em] % i.e., 0em (part) + 2em
@@ -331,6 +337,12 @@
{\contentslabel{2.75em}}
{\hspace*{-2.75em}}
{\titlerule*[1em]{\textcolor{gray!30!paper}{.}}\color{paper!55!-paper}\contentspage}
+ \titlecontents{subsubsection}
+ [7em] % i.e., 5em (subsection) + 2em
+ {\normalfont\colorist at sffamily}
+ {\contentslabel{2.75em}}
+ {\hspace*{-2.75em}}
+ {\titlerule*[1em]{\textcolor{gray!30!paper}{.}}\contentspage}
}
%%================================
@@ -399,19 +411,25 @@
%%================================
\RequirePackage{mathtools}
\RequirePackage{amsthm}
-\def\simpleqed{\hfill\makebox[1em]{\rlap{\textcolor{gray!25!paper}{\rule[-0.1em]{.95em}{.95em}}}{\kern.07em\raisebox{.07em}{\textcolor{paper}{\rule[-0.1em]{.81em}{.81em}}}\kern.07em}}}
+\def\simpleqedsymbol{%
+ \makebox[1em]{\rlap{\textcolor{gray!25!paper}{\rule[-0.1em]{.95em}{.95em}}}{\kern.07em\raisebox{.07em}{\textcolor{paper}{\rule[-0.1em]{.81em}{.81em}}}\kern.07em}}}
\newtheoremstyle{simple}%
{}{}%
{\normalfont}{}%
{\normalfont}{}%
{0pt}%
- {\conditionalbfseries\thmname{#1}\thmnumber{ #2}\hspace{.4em}%
+ {\global\let\qedsymbol\simpleqedsymbol%
+ {\conditionalbfseries\thmname{#1}\thmnumber{ #2}}\hspace{.4em}%
\textcolor{gray!55!paper}{$|$}\hspace{.4em}%
- \color{gray}\thmnote{\ensuremath{(\text{#3})}~~}\pushQED{\simpleqed}}
-\def\@endtheorem{\popQED\endtrivlist\@endpefalse }
+ \color{gray}\thmnote{\ensuremath{(\text{#3})}~~}%
+ \pushQED{\qed}%
+ }
+\def\@endtheorem{\popQED\endtrivlist\@endpefalse
+\global\let\qedsymbol\qedsymbolOriginal}
\renewcommand{\qedsymbol}{%
\makebox[1em]{\color{gray!55!paper}\rule[-0.1em]{.95em}{.95em}}}
+\let\qedsymbolOriginal\qedsymbol
\newtheoremstyle{basic}
{0pt}{0pt}{\normalfont}{0pt}
@@ -1004,7 +1022,7 @@
\hspace*{-.5em}%
\fi%
}\normalmarginpar%
-}{}{\FAIL}
+}{}{}
\pretocmd{\conjecture}{%
\if at twoside\checkoddpage%
\ifoddpage\reversemarginpar\fi%
@@ -1019,7 +1037,7 @@
\hspace*{-.5em}%
\fi%
}\normalmarginpar%
-}{}{\FAIL}
+}{}{}
}
\RequirePackage{iftex}
@@ -1342,6 +1360,7 @@
{\scshape\@author}\\\smallskip%
{\@date}%
\end{center}%
+\ifx\@date\@empty\bigskip\fi%
\medskip%
}
\apptocmd{\maketitle}{\thispagestyle{fancy}}{}{\FAIL}
More information about the tex-live-commits
mailing list.