diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-14 21:05:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-14 21:05:11 +0000 |
commit | 4f4a6fbdcff9c424b96574e43efe30c376e6ea33 (patch) | |
tree | 8d380d0e8b502eee1bc72982537eee8e7d52568e /Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty | |
parent | ac0972ebf6b5b92c6cc75542aa4add3bc6f8b15c (diff) |
jxu (14jul23)
git-svn-id: svn://tug.org/texlive/trunk@67629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty b/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty index 0afe2b971d1..1fddb04d17c 100644 --- a/Master/texmf-dist/tex/latex/colorist/colorist-fancy.sty +++ b/Master/texmf-dist/tex/latex/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'. |