summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/colorist/colorist-fancy.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/colorist/colorist-fancy.sty')
-rw-r--r--macros/latex/contrib/colorist/colorist-fancy.sty16
1 files changed, 8 insertions, 8 deletions
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