From f506889527fff6570e2878d55abbacf7227f2b3e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 15 Jul 2023 03:00:53 +0000 Subject: CTAN sync 202307150300 --- macros/latex/contrib/colorist/README.md | 6 ++++-- macros/latex/contrib/colorist/colorart.cls | 5 ++++- macros/latex/contrib/colorist/colorbook.cls | 5 ++++- macros/latex/contrib/colorist/colorist-fancy.sty | 14 +++++++++++++- macros/latex/contrib/colorist/colorist.sty | 2 +- 5 files changed, 26 insertions(+), 6 deletions(-) (limited to 'macros/latex/contrib/colorist') diff --git a/macros/latex/contrib/colorist/README.md b/macros/latex/contrib/colorist/README.md index 8e281b3e90..c72a30f9fd 100644 --- a/macros/latex/contrib/colorist/README.md +++ b/macros/latex/contrib/colorist/README.md @@ -2,7 +2,7 @@ # `colorist` bundle: write you documents in a colorful way -> **New documentations are being written and are expected to be completed by the end of 2023. In the meantime, only the core code would be included in TeX Live 2023 coming this April (old documentations have been removed from the distribution).** +> **New documentations are still being written. For now, only the core code is included in TeX Live 2023 (old documentations have been removed from the distribution).** ## Introduction @@ -33,15 +33,17 @@ It mainly consists of two parts. typesetting, and also use more beautiful fonts. ### How to get these files -You can get the `.sty` and `.cls` files mentioned above simply by compiling +You can get the `.sty` and `.cls` files mentioned above by compiling `colorist.ins`: ``` latex colorist.ins ``` + ## Features diff --git a/macros/latex/contrib/colorist/colorart.cls b/macros/latex/contrib/colorist/colorart.cls index 6ef63c0179..278cf0f335 100644 --- a/macros/latex/contrib/colorist/colorart.cls +++ b/macros/latex/contrib/colorist/colorart.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {colorart} - {2023/03/07} {} + {2023/07/14} {} {A colorful article style} \tl_const:Nn \l__colorclass_base_class_tl { article } @@ -60,6 +60,9 @@ , b5paper .bool_set:N = \l__colorclass_b_five_paper_bool , b5paper .initial:n = { false } + , oneside .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } + , twoside .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } + , 11pt .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } , 12pt .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } diff --git a/macros/latex/contrib/colorist/colorbook.cls b/macros/latex/contrib/colorist/colorbook.cls index 6b19466127..1c39ab987f 100644 --- a/macros/latex/contrib/colorist/colorbook.cls +++ b/macros/latex/contrib/colorist/colorbook.cls @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {colorbook} - {2023/03/07} {} + {2023/07/14} {} {A colorful book style} \tl_const:Nn \l__colorclass_base_class_tl { book } @@ -60,6 +60,9 @@ , b5paper .bool_set:N = \l__colorclass_b_five_paper_bool , b5paper .initial:n = { false } + , oneside .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } + , twoside .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } + , 11pt .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } , 12pt .code:n = { \PassOptionsToClass { \CurrentOption } { \l__colorclass_base_class_tl } } diff --git a/macros/latex/contrib/colorist/colorist-fancy.sty b/macros/latex/contrib/colorist/colorist-fancy.sty index 0afe2b971d..1fddb04d17 100644 --- a/macros/latex/contrib/colorist/colorist-fancy.sty +++ b/macros/latex/contrib/colorist/colorist-fancy.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {colorist-fancy} - {2023/03/07} {} + {2023/07/14} {} {The fancy style of colorist} \IfPackageLoadedTF { colorist } {} @@ -1206,6 +1206,18 @@ heading_suffix "}\n" \PassOptionsToPackage { amsfashion } { projlib-author } \RequirePackage { projlib-author } +%%================================ +%% Special adjustment +%%================================ +\crefformat { chapter } { \nobreak \crefthemark { \crefthe_retrieve_space: } \nobreak #2 \normalfont\textcolor{maintheme} {\larger #1} #3 } +\labelcrefformat { chapter } { #2 \normalfont\textcolor{maintheme} {\larger #1} #3 } +\crefformat { section } { \nobreak \crefthemark { \crefthe_retrieve_space: } \nobreak #2 \color{maintheme} \g_colorist_title_font_section_tl {#1} #3 } +\labelcrefformat { section } { #2 \color{maintheme} \g_colorist_title_font_section_tl {#1} #3 } +\crefformat { subsection } { \nobreak \crefthemark { \crefthe_retrieve_space: } \nobreak #2 \g_colorist_title_font_subsection_tl {#1} #3 } +\labelcrefformat { subsection } { #2 \g_colorist_title_font_subsection_tl {#1} #3 } +\crefformat { subsubsection } { \nobreak \crefthemark { \crefthe_retrieve_space: } \nobreak #2 \color{main-text!70!paper} \g_colorist_title_font_subsubsection_tl {#1} #3 } +\labelcrefformat { subsubsection } { #2 \color{main-text!70!paper} \g_colorist_title_font_subsubsection_tl {#1} #3 } + \endinput %% %% End of file `colorist/colorist-fancy.sty'. diff --git a/macros/latex/contrib/colorist/colorist.sty b/macros/latex/contrib/colorist/colorist.sty index 083a67f51c..b750f4d1ef 100644 --- a/macros/latex/contrib/colorist/colorist.sty +++ b/macros/latex/contrib/colorist/colorist.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {colorist} - {2023/03/07} {} + {2023/07/14} {} {A colorful style for articles and books} \keys_define:nn { colorist } -- cgit v1.2.3