1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
%%
%% This is file `colorist/colorist.sty',
%% generated with the docstrip utility.
%%
%% Copyright (C) 2021-2023 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}
{2023/03/07} {}
{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 }
, 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'.
|