diff options
Diffstat (limited to 'macros/latex/contrib/colorist')
-rw-r--r-- | macros/latex/contrib/colorist/colorart.cls | 2 | ||||
-rw-r--r-- | macros/latex/contrib/colorist/colorbook.cls | 2 | ||||
-rw-r--r-- | macros/latex/contrib/colorist/colorist-fancy.sty | 16 | ||||
-rw-r--r-- | macros/latex/contrib/colorist/colorist.sty | 10 |
4 files changed, 15 insertions, 15 deletions
diff --git a/macros/latex/contrib/colorist/colorart.cls b/macros/latex/contrib/colorist/colorart.cls index dbea4b818c..ff1cf130b1 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} - {2024/02/20} {} + {2024/02/23} {} {A colorful article style} \tl_const:Nn \l__colorclass_base_class_tl { article } diff --git a/macros/latex/contrib/colorist/colorbook.cls b/macros/latex/contrib/colorist/colorbook.cls index 4566530a3a..81e6a6188f 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} - {2024/02/20} {} + {2024/02/23} {} {A colorful book style} \tl_const:Nn \l__colorclass_base_class_tl { book } diff --git a/macros/latex/contrib/colorist/colorist-fancy.sty b/macros/latex/contrib/colorist/colorist-fancy.sty index 0674eb014d..15b7995abb 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} - {2024/02/20} {} + {2024/02/23} {} {The fancy style of colorist} \IfPackageLoadedTF { colorist } {} @@ -730,7 +730,7 @@ heading_suffix "}\n" } \newtheoremstyle{simple-var} {}{} - { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{} + { \bool_if:NTF \l__colorist_emphasize_theorem_bool { \itshape } { \normalfont } }{} {\normalfont}{} {0pt} { @@ -750,7 +750,7 @@ heading_suffix "}\n" {\color{main-text!50!paper}\thmnote{\hspace{.4em} \colorist_insert_l_mathparen: #3 \colorist_insert_r_mathparen: }}\nobreakspace\nobreakspace{\normalfont\textcolor{main-text!27!paper}{---}}\nobreakspace\nobreakspace} \newtheoremstyle{simple-var} {}{} - { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{} + { \bool_if:NTF \l__colorist_emphasize_theorem_bool { \itshape } { \normalfont } }{} {\normalfont}{} {0pt} {{\thmname{#1}\nobreakspace\thmnumber{#2}} @@ -784,7 +784,7 @@ heading_suffix "}\n" } \newtheoremstyle{basic-var} {}{} - { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{} + { \bool_if:NTF \l__colorist_emphasize_theorem_bool { \itshape } { \normalfont } }{} {}{} {0pt} { @@ -803,7 +803,7 @@ heading_suffix "}\n" \thmnote{\normalfont\sffamily\color{main-text}\nobreakspace \colorist_insert_l_mathparen: #3 \colorist_insert_r_mathparen: }} \newtheoremstyle{basic-var} {0pt}{0pt} - { \bool_if:NTF \l__colorist_emphasis_theorem_bool { \itshape } { \normalfont } }{0pt} + { \bool_if:NTF \l__colorist_emphasize_theorem_bool { \itshape } { \normalfont } }{0pt} {}{\;}{0.25em} {{\thmname{#1}\nobreakspace\thmnumber{\textup{#2}}} \thmnote{\normalfont\sffamily\color{main-text}\nobreakspace \colorist_insert_l_mathparen: #3 \colorist_insert_r_mathparen: }} @@ -959,15 +959,15 @@ heading_suffix "}\n" \else \reversemarginpar \fi - \colorist_mpar_adjust:n {-.33em} + \colorist_mpar_adjust:n {\dimexpr.5em-8pt\relax} \marginnote{ \colorist_icon_ideabulb:w [0.3] {orange} \bool_if:NTF \l__colorist_is_book_bool { - \hspace*{-.2em} + \hspace*{-2pt} } { - \hspace*{-.5em} + \hspace*{-5pt} } } \normalmarginpar diff --git a/macros/latex/contrib/colorist/colorist.sty b/macros/latex/contrib/colorist/colorist.sty index 68044afbc8..0b4c2b9dd8 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} - {2024/02/20} {} + {2024/02/23} {} {A colorful style for articles and books} \keys_define:nn { colorist } @@ -70,10 +70,10 @@ , indent lists .dim_set:N = \l__colorist_item_indentation_dim , indent lists .default:n = { \parindent } - , emphasis-theorems .bool_set:N = \l__colorist_emphasis_theorem_bool - , emphasis-theorems .initial:n = { false } - , emphasis~theorems .bool_set:N = \l__colorist_emphasis_theorem_bool - , emphasis theorems .bool_set:N = \l__colorist_emphasis_theorem_bool + , emphasize-theorems .bool_set:N = \l__colorist_emphasize_theorem_bool + , emphasize-theorems .initial:n = { false } + , emphasize~theorems .bool_set:N = \l__colorist_emphasize_theorem_bool + , emphasize theorems .bool_set:N = \l__colorist_emphasize_theorem_bool , theorem-in-new-line .bool_set:N = \l__colorist_theorem_in_new_line_bool , theorem-in-new-line .initial:n = { false } |