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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
%%
%% This is file `iwonamath.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% iwonamath.dtx (with options: `package')
%%
%% IMPORTANT NOTICE:
%%
%% For the copyright see the source file.
%%
%% Any modified versions of this file must be renamed
%% with new filenames distinct from iwonamath.sty.
%%
%% For distribution of the original source see the terms
%% for copying and modification in the file iwonamath.dtx.
%%
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesExplPackage {iwonamath}
{2023-08-31} {1.0}
{Scaled Iwona math fonts}
\keys_define:nn { iwonamath/options }
{
scale .tl_set:N = \l__iwonamath_scale_tl,
Scale .tl_set:N = \l__iwonamath_scale_tl,
light .bool_set:N = \l__iwonamath_mainlight_bool,
light .default:n = true,
condensed .bool_set:N = \l__iwonamath_maincondensed_bool,
condensed .default:n = true,
delimitershack .bool_set:N = \l__iwonamath_delimitershack_bool,
delimitershack .default:n = true,
standardversions .bool_set:N = \l__iwonamath_standardversions_bool,
standardversions .default:n = true,
}
\keys_set:nn {iwonamath/options }
{
scale = 1,
light = false,
condensed = false,
delimitershack = true,
standardversions = true,
}
\IfFormatAtLeastTF { 2022-06-01 }
{ \ProcessKeyOptions [ iwonamath/options ] }
{
\RequirePackage { l3keys2e }
\ProcessKeysOptions { iwonamath/options }
}
\keys_define:nn { iwonamath/main }
{
name .tl_set:N = \l__iwonamath_versionname_tl,
light .bool_set:N = \l__iwonamath_light_bool,
light .default:n = true,
condensed .bool_set:N = \l__iwonamath_condensed_bool,
condensed .default:n = true,
bold .bool_set:N = \l__iwonamath_bold_bool,
bold .default:n = true,
}
\bool_if:NTF \l__iwonamath_delimitershack_bool
{
\DeclareSymbolFont{symbols2}{OMS}{iwonamathcmsy}{m}{n}
\SetSymbolFont{symbols2} {bold}{OMS}{cmsy}{b}{n}
\DeclareMathDelimiter{\lVert}{\mathopen} {symbols2}{"6B}{largesymbols}{"0D}
\DeclareMathDelimiter{\rVert}{\mathclose}{symbols2}{"6B}{largesymbols}{"0D}
}
{}
\DeclareDocumentCommand \DefineIwonaMathVersion { m }
{
\tl_clear:N \l__iwonamath_versionname_tl
\bool_set_eq:NN \l__iwonamath_light_bool \l__iwonamath_mainlight_bool
\bool_set_eq:NN \l__iwonamath_condensed_bool \l__iwonamath_maincondensed_bool
\bool_set_false:N \l__iwonamath_bold_bool
\keys_set:nn { iwonamath/main }
{
#1
}
\tl_if_empty:NTF \l__iwonamath_versionname_tl
{
\bool_if:NTF \l__iwonamath_bold_bool
{
\tl_set:Nn \l__iwonamath_versionname_tl {bold}
}
{
\tl_set:Nn \l__iwonamath_versionname_tl {normal}
}
}
{}
\tl_set:Nn \l_tmpa_tl {iwonamath}
\bool_if:NTF \l__iwonamath_light_bool
{
\tl_set:Ne \l_tmpa_tl {\l_tmpa_tl l}
}
{}
\bool_if:NTF \l__iwonamath_condensed_bool
{
\tl_set:Ne \l_tmpa_tl {\l_tmpa_tl c}
}
{}
\DeclareMathVersion{\l__iwonamath_versionname_tl}
\bool_if:NTF \l__iwonamath_bold_bool
{
\SetSymbolFont{operators}{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl m} {b}{n}
\SetSymbolFont{letters} {\l__iwonamath_versionname_tl}{OML}{\l_tmpa_tl} {b}{it}
\SetSymbolFont{symbols} {\l__iwonamath_versionname_tl}{OMS}{\l_tmpa_tl}{b}{n}
\SetSymbolFont{largesymbols}{\l__iwonamath_versionname_tl}{OMX}{\l_tmpa_tl}{b}{n}
\SetMathAlphabet\mathsf{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl}{bx}{n}
\SetMathAlphabet\mathit{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl}{bx}{it}
\SetSymbolFont{symbols2} {\l__iwonamath_versionname_tl}{OMS}{iwonamathcmsy}{b}{n}
}
{
\SetSymbolFont{operators}{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl m}{m}{n}
\SetSymbolFont{letters}{\l__iwonamath_versionname_tl}{OML}{\l_tmpa_tl} {m}{it}
\SetSymbolFont{symbols}{\l__iwonamath_versionname_tl}{OMS}{\l_tmpa_tl}{m}{n}
\SetSymbolFont{largesymbols}{\l__iwonamath_versionname_tl}{OMX}{\l_tmpa_tl}{m}{n}
\SetMathAlphabet{\mathbf}{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl}{bx}{n}
\SetMathAlphabet{\mathsf}{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl}{m}{n}
\SetMathAlphabet{\mathit}{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl}{m}{it}
\SetMathAlphabet{\mathtt}{\l__iwonamath_versionname_tl}{OT1}{\l_tmpa_tl}{m}{n}
\SetSymbolFont{symbols2} {\l__iwonamath_versionname_tl}{OMS}{iwonamathcmsy}{m}{n}
}
\bool_if:NTF \l__iwonamath_delimitershack_bool
{
}
{}
}
\bool_if:NTF \l__iwonamath_standardversions_bool
{
\DefineIwonaMathVersion{}
\DefineIwonaMathVersion{bold}
}
{}
\endinput
%%
%% End of file `iwonamath.sty'.
|