%% %% This is file `colorist/colorist.sty', %% generated with the docstrip utility. %% %% Copyright (C) 2021-2024 by Jinwen XU %% %% This is part of the colorist class series. %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at %% your option) any later version. The latest version of this license is in %% %% http://www.latex-project.org/lppl.txt %% %% and version 1.3c or later is part of all distributions of LaTeX version %% 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {colorist} {2024/02/23} {} {A colorful style for articles and books} \keys_define:nn { colorist } { , draft .bool_set:N = \l__colorist_fast_bool , draft .initial:n = { false } , fast .bool_set:N = \l__colorist_fast_bool , style .str_set:N = \l__colorist_style_str , style .initial:n = { fancy } , use-style .str_set:N = \l__colorist_style_str , use~style .str_set:N = \l__colorist_style_str , use style .str_set:N = \l__colorist_style_str , fancy .meta:n = { style = fancy } , use-boldface .bool_set:N = \l__colorist_use_boldface_bool , use-boldface .initial:n = { false } , use~boldface .bool_set:N = \l__colorist_use_boldface_bool , use boldface .bool_set:N = \l__colorist_use_boldface_bool , title-in-boldface .bool_set:N = \l__colorist_use_boldface_bool , title~in~boldface .bool_set:N = \l__colorist_use_boldface_bool , title in boldface .bool_set:N = \l__colorist_use_boldface_bool , title-in-bold .bool_set:N = \l__colorist_use_boldface_bool , title~in~bold .bool_set:N = \l__colorist_use_boldface_bool , title in bold .bool_set:N = \l__colorist_use_boldface_bool , use-scshape .bool_set:N = \l__colorist_use_scshape_bool , use-scshape .initial:n = { false } , use~scshape .bool_set:N = \l__colorist_use_scshape_bool , use scshape .bool_set:N = \l__colorist_use_scshape_bool , title-in-scshape .bool_set:N = \l__colorist_use_scshape_bool , title~in~scshape .bool_set:N = \l__colorist_use_scshape_bool , title in scshape .bool_set:N = \l__colorist_use_scshape_bool , runin .bool_set:N = \l__colorist_runin_bool , runin .initial:n = { false } , indent-items .dim_set:N = \l__colorist_item_indentation_dim , indent-items .initial:n = { 0pt } , indent-items .default:n = { \parindent } , indent~items .dim_set:N = \l__colorist_item_indentation_dim , indent~items .default:n = { \parindent } , indent items .dim_set:N = \l__colorist_item_indentation_dim , indent items .default:n = { \parindent } , indent-lists .dim_set:N = \l__colorist_item_indentation_dim , indent-lists .default:n = { \parindent } , indent~lists .dim_set:N = \l__colorist_item_indentation_dim , indent~lists .default:n = { \parindent } , indent lists .dim_set:N = \l__colorist_item_indentation_dim , indent lists .default:n = { \parindent } , 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 } , theorem~in~new~line .bool_set:N = \l__colorist_theorem_in_new_line_bool , theorem in new line .bool_set:N = \l__colorist_theorem_in_new_line_bool , unknown .code:n = { \PassOptionsToPackage { \CurrentOption } { projlib-language } \PassOptionsToPackage { \CurrentOption } { projlib-author } \PassOptionsToPackage { \CurrentOption } { projlib-datetime } \PassOptionsToPackage { \CurrentOption } { projlib-draft } \PassOptionsToPackage { \CurrentOption } { projlib-font } \PassOptionsToPackage { \CurrentOption } { projlib-logo } \PassOptionsToPackage { \CurrentOption } { projlib-math } \PassOptionsToPackage { \CurrentOption } { projlib-paper } \PassOptionsToPackage { \CurrentOption } { projlib-theorem } } } \ProcessKeyOptions [ colorist ] \bool_new:N \l__colorist_is_book_bool \cs_if_exist:cTF { c@chapter } { \bool_set_true:N \l__colorist_is_book_bool } { \bool_set_false:N \l__colorist_is_book_bool } %%================================ %% Paper configuration %%================================ \RequirePackage { projlib-paper } %%================================ %% Multi-language support %%================================ \RequirePackage { projlib-language } %%================================ %% Loading the style %%================================ \exp_args:No \RequirePackage { colorist- \l__colorist_style_str } \endinput %% %% End of file `colorist/colorist.sty'.