Debian Codegraph @

texmf-dist/source/latex/unicode-math/um-code-alphabets.dtx

raw
1 %%^^A%% um-code-alphabets.dtx -- part of UNICODE-MATH <wspr.io/unicode-math>
2 %%^^A%% Definitions for setting up the "math symbol alphabets".
3
4 % \section{Setting up alphabets}
5 % \label{sec:setupalphabets}
6 %
7 % \begin{macrocode}
8 %<*package>
9 % \end{macrocode}
10 %
11 %
12 % \subsection{Upright: up}
13 %
14 % \begin{macrocode}
15 \@@_new_alphabet_config:nnn {up} {num}
16 {
17 \@@_set_normal_numbers:nn {up} {#1}
18 \@@_set_mathalphabet_numbers:nnn {up} {up} {#1}
19 }
20
21 \@@_new_alphabet_config:nnn {up} {Latin}
22 {
23 \bool_if:NTF \g_@@_literal_bool { \@@_set_normal_Latin:nn {up} {#1} }
24 {
25 \bool_if:NT \g_@@_upLatin_bool { \@@_set_normal_Latin:nn {up,it} {#1} }
26 }
27 \@@_set_mathalphabet_Latin:nnn {up} {up,it} {#1}
28 \@@_set_mathalphabet_Latin:nnn {literal} {up} {up}
29 \@@_set_mathalphabet_Latin:nnn {literal} {it} {it}
30 }
31
32 \@@_new_alphabet_config:nnn {up} {latin}
33 {
34 \bool_if:NTF \g_@@_literal_bool { \@@_set_normal_latin:nn {up} {#1} }
35 {
36 \bool_if:NT \g_@@_uplatin_bool
37 {
38 \@@_set_normal_latin:nn {up,it} {#1}
39 \@@_set_normal_char:nnn {h} {up,it} {#1}
40 \@@_set_normal_char:nnn {dotlessi} {up,it} {#1}
41 \@@_set_normal_char:nnn {dotlessj} {up,it} {#1}
42 }
43 }
44 \@@_set_mathalphabet_latin:nnn {up} {up,it}{#1}
45 \@@_set_mathalphabet_latin:nnn {literal} {up} {up}
46 \@@_set_mathalphabet_latin:nnn {literal} {it} {it}
47 }
48
49 \@@_new_alphabet_config:nnn {up} {Greek}
50 {
51 \bool_if:NTF \g_@@_literal_bool { \@@_set_normal_Greek:nn {up}{#1} }
52 {
53 \bool_if:NT \g_@@_upGreek_bool { \@@_set_normal_Greek:nn {up,it}{#1} }
54 }
55 \@@_set_mathalphabet_Greek:nnn {up} {up,it}{#1}
56 \@@_set_mathalphabet_Greek:nnn {literal} {up} {up}
57 \@@_set_mathalphabet_Greek:nnn {literal} {it} {it}
58 }
59
60 \@@_new_alphabet_config:nnn {up} {greek}
61 {
62 \bool_if:NTF \g_@@_literal_bool { \@@_set_normal_greek:nn {up} {#1} }
63 {
64 \bool_if:NT \g_@@_upgreek_bool
65 {
66 \@@_set_normal_greek:nn {up,it} {#1}
67 }
68 }
69 \@@_set_mathalphabet_greek:nnn {up} {up,it} {#1}
70 \@@_set_mathalphabet_greek:nnn {literal} {up} {up}
71 \@@_set_mathalphabet_greek:nnn {literal} {it} {it}
72 }
73
74 \@@_new_alphabet_config:nnn {up} {misc}
75 {
76 \bool_if:NTF \g_@@_literal_Nabla_bool
77 {
78 \@@_set_normal_char:nnn {Nabla}{up}{up}
79 }
80 {
81 \bool_if:NT \g_@@_upNabla_bool
82 {
83 \@@_set_normal_char:nnn {Nabla}{up,it}{up}
84 }
85 }
86 \bool_if:NTF \g_@@_literal_partial_bool
87 {
88 \@@_set_normal_char:nnn {partial}{up}{up}
89 }
90 {
91 \bool_if:NT \g_@@_uppartial_bool
92 {
93 \@@_set_normal_char:nnn {partial}{up,it}{up}
94 }
95 }
96 \@@_set_mathalphabet_pos:nnnn {up} {partial} {up,it} {#1}
97 \@@_set_mathalphabet_pos:nnnn {up} {Nabla} {up,it} {#1}
98 \@@_set_mathalphabet_pos:nnnn {up} {dotlessi} {up,it} {#1}
99 \@@_set_mathalphabet_pos:nnnn {up} {dotlessj} {up,it} {#1}
100 }
101 % \end{macrocode}
102 %
103 % \subsection{Italic: it}
104 %
105 % \begin{macrocode}
106 \@@_new_alphabet_config:nnn {it} {Latin}
107 {
108 \bool_if:NTF \g_@@_literal_bool { \@@_set_normal_Latin:nn {it} {#1} }
109 {
110 \bool_if:NF \g_@@_upLatin_bool { \@@_set_normal_Latin:nn {up,it} {#1} }
111 }
112 \@@_set_mathalphabet_Latin:nnn {it} {up,it} {#1}
113 }
114
115 \@@_new_alphabet_config:nnn {it} {latin}
116 {
117 \bool_if:NTF \g_@@_literal_bool
118 {
119 \@@_set_normal_latin:nn {it}{#1}
120 \@@_set_normal_char:nnn {h}{it}{#1}
121 }
122 {
123 \bool_if:NF \g_@@_uplatin_bool
124 {
125 \@@_set_normal_latin:nn {up,it} {#1}
126 \@@_set_normal_char:nnn {h} {up,it} {#1}
127 \@@_set_normal_char:nnn {dotlessi} {up,it} {#1}
128 \@@_set_normal_char:nnn {dotlessj} {up,it} {#1}
129 }
130 }
131 \@@_set_mathalphabet_latin:nnn {it} {up,it} {#1}
132 \@@_set_mathalphabet_pos:nnnn {it} {dotlessi} {up,it} {#1}
133 \@@_set_mathalphabet_pos:nnnn {it} {dotlessj} {up,it} {#1}
134 }
135
136 \@@_new_alphabet_config:nnn {it} {Greek}
137 {
138 \bool_if:NTF \g_@@_literal_bool
139 {
140 \@@_set_normal_Greek:nn {it} {#1}
141 }
142 {
143 \bool_if:NF \g_@@_upGreek_bool { \@@_set_normal_Greek:nn {up,it} {#1} }
144 }
145 \@@_set_mathalphabet_Greek:nnn {it} {up,it} {#1}
146 }
147
148 \@@_new_alphabet_config:nnn {it} {greek}
149 {
150 \bool_if:NTF \g_@@_literal_bool
151 {
152 \@@_set_normal_greek:nn {it} {#1}
153 }
154 {
155 \bool_if:NF \g_@@_upgreek_bool { \@@_set_normal_greek:nn {it,up} {#1} }
156 }
157 \@@_set_mathalphabet_greek:nnn {it} {up,it} {#1}
158 }
159
160 \@@_new_alphabet_config:nnn {it} {misc}
161 {
162 \bool_if:NTF \g_@@_literal_Nabla_bool
163 {
164 \@@_set_normal_char:nnn {Nabla} {it} {it}
165 }
166 {
167 \bool_if:NF \g_@@_upNabla_bool
168 {
169 \@@_set_normal_char:nnn {Nabla} {up,it} {it}
170 }
171 }
172 \bool_if:NTF \g_@@_literal_partial_bool
173 {
174 \@@_set_normal_char:nnn {partial} {it} {it}
175 }
176 {
177 \bool_if:NF \g_@@_uppartial_bool
178 {
179 \@@_set_normal_char:nnn {partial} {up,it} {it}
180 }
181 }
182 \@@_set_mathalphabet_pos:nnnn {it} {partial} {up,it}{#1}
183 \@@_set_mathalphabet_pos:nnnn {it} {Nabla} {up,it}{#1}
184 }
185 % \end{macrocode}
186 %
187 % \subsection{Blackboard or double-struck: bb and bbit}
188 %
189 % \begin{macrocode}
190 \@@_new_alphabet_config:nnn {bb} {latin}
191 {
192 \@@_set_mathalphabet_latin:nnn {bb} {up,it} {#1}
193 }
194
195 \@@_new_alphabet_config:nnn {bb} {Latin}
196 {
197 \@@_set_mathalphabet_Latin:nnn {bb} {up,it} {#1}
198 \@@_set_mathalphabet_pos:nnnn {bb} {C} {up,it} {#1}
199 \@@_set_mathalphabet_pos:nnnn {bb} {H} {up,it} {#1}
200 \@@_set_mathalphabet_pos:nnnn {bb} {N} {up,it} {#1}
201 \@@_set_mathalphabet_pos:nnnn {bb} {P} {up,it} {#1}
202 \@@_set_mathalphabet_pos:nnnn {bb} {Q} {up,it} {#1}
203 \@@_set_mathalphabet_pos:nnnn {bb} {R} {up,it} {#1}
204 \@@_set_mathalphabet_pos:nnnn {bb} {Z} {up,it} {#1}
205 }
206
207 \@@_new_alphabet_config:nnn {bb} {num}
208 {
209 \@@_set_mathalphabet_numbers:nnn {bb} {up} {#1}
210 }
211
212 \@@_new_alphabet_config:nnn {bb} {misc}
213 {
214 \@@_set_mathalphabet_pos:nnnn {bb} {Pi} {up,it} {#1}
215 \@@_set_mathalphabet_pos:nnnn {bb} {pi} {up,it} {#1}
216 \@@_set_mathalphabet_pos:nnnn {bb} {Gamma} {up,it} {#1}
217 \@@_set_mathalphabet_pos:nnnn {bb} {gamma} {up,it} {#1}
218 \@@_set_mathalphabet_pos:nnnn {bb} {summation} {up} {#1}
219 }
220
221 \@@_new_alphabet_config:nnn {bbit} {misc}
222 {
223 \@@_set_mathalphabet_pos:nnnn {bbit} {D} {up,it} {#1}
224 \@@_set_mathalphabet_pos:nnnn {bbit} {d} {up,it} {#1}
225 \@@_set_mathalphabet_pos:nnnn {bbit} {e} {up,it} {#1}
226 \@@_set_mathalphabet_pos:nnnn {bbit} {i} {up,it} {#1}
227 \@@_set_mathalphabet_pos:nnnn {bbit} {j} {up,it} {#1}
228 }
229 % \end{macrocode}
230 %
231 % \subsection{Script and calligraphic: scr and cal}
232 %
233 % \begin{macrocode}
234 \@@_new_alphabet_config:nnn {scr} {Latin}
235 {
236 \@@_set_mathalphabet_Latin:nnn {scr} {up,it} {#1}
237 \@@_set_mathalphabet_pos:nnnn {scr} {B} {up,it} {#1}
238 \@@_set_mathalphabet_pos:nnnn {scr} {E} {up,it} {#1}
239 \@@_set_mathalphabet_pos:nnnn {scr} {F} {up,it} {#1}
240 \@@_set_mathalphabet_pos:nnnn {scr} {H} {up,it} {#1}
241 \@@_set_mathalphabet_pos:nnnn {scr} {I} {up,it} {#1}
242 \@@_set_mathalphabet_pos:nnnn {scr} {L} {up,it} {#1}
243 \@@_set_mathalphabet_pos:nnnn {scr} {M} {up,it} {#1}
244 \@@_set_mathalphabet_pos:nnnn {scr} {R} {up,it} {#1}
245 }
246
247 \@@_new_alphabet_config:nnn {scr} {latin}
248 {
249 \@@_set_mathalphabet_latin:nnn {scr} {up,it} {#1}
250 \@@_set_mathalphabet_pos:nnnn {scr} {e} {up,it} {#1}
251 \@@_set_mathalphabet_pos:nnnn {scr} {g} {up,it} {#1}
252 \@@_set_mathalphabet_pos:nnnn {scr} {o} {up,it} {#1}
253 }
254 % \end{macrocode}
255 % These are by default synonyms for the above, but with the STIX
256 % fonts we want to use the alternate alphabet.
257 % \begin{macrocode}
258 \@@_new_alphabet_config:nnn {cal} {Latin}
259 {
260 \@@_set_mathalphabet_Latin:nnn {cal} {up,it} {#1}
261 \@@_set_mathalphabet_pos:nnnn {cal} {B} {up,it} {#1}
262 \@@_set_mathalphabet_pos:nnnn {cal} {E} {up,it} {#1}
263 \@@_set_mathalphabet_pos:nnnn {cal} {F} {up,it} {#1}
264 \@@_set_mathalphabet_pos:nnnn {cal} {H} {up,it} {#1}
265 \@@_set_mathalphabet_pos:nnnn {cal} {I} {up,it} {#1}
266 \@@_set_mathalphabet_pos:nnnn {cal} {L} {up,it} {#1}
267 \@@_set_mathalphabet_pos:nnnn {cal} {M} {up,it} {#1}
268 \@@_set_mathalphabet_pos:nnnn {cal} {R} {up,it} {#1}
269 }
270 \@@_new_alphabet_config:nnn {cal} {latin}
271 {
272 \@@_set_mathalphabet_latin:nnn {cal} {up,it} {#1}
273 \@@_set_mathalphabet_pos:nnnn {cal} {e} {up,it} {#1}
274 \@@_set_mathalphabet_pos:nnnn {cal} {g} {up,it} {#1}
275 \@@_set_mathalphabet_pos:nnnn {cal} {o} {up,it} {#1}
276 }
277 % \end{macrocode}
278 %
279 % \subsection{Fractur or fraktur or blackletter: frak}
280 %
281 % \begin{macrocode}
282 \@@_new_alphabet_config:nnn {frak} {Latin}
283 {
284 \@@_set_mathalphabet_Latin:nnn {frak} {up,it} {#1}
285 \@@_set_mathalphabet_pos:nnnn {frak} {C} {up,it} {#1}
286 \@@_set_mathalphabet_pos:nnnn {frak} {H} {up,it} {#1}
287 \@@_set_mathalphabet_pos:nnnn {frak} {I} {up,it} {#1}
288 \@@_set_mathalphabet_pos:nnnn {frak} {R} {up,it} {#1}
289 \@@_set_mathalphabet_pos:nnnn {frak} {Z} {up,it} {#1}
290 }
291 \@@_new_alphabet_config:nnn {frak} {latin}
292 {
293 \@@_set_mathalphabet_latin:nnn {frak} {up,it} {#1}
294 }
295 % \end{macrocode}
296 %
297 % \subsection{Sans serif upright: sfup}
298 % \begin{macrocode}
299 \@@_new_alphabet_config:nnn {sfup} {num}
300 {
301 \@@_set_mathalphabet_numbers:nnn {sf} {up} {#1}
302 \@@_set_mathalphabet_numbers:nnn {sfup} {up} {#1}
303 }
304 \@@_new_alphabet_config:nnn {sfup} {Latin}
305 {
306 \bool_if:NTF \g_@@_sfliteral_bool
307 {
308 \@@_set_normal_Latin:nn {sfup} {#1}
309 \@@_set_mathalphabet_Latin:nnn {sf} {up} {#1}
310 }
311 {
312 \bool_if:NT \g_@@_upsans_bool
313 {
314 \@@_set_normal_Latin:nn {sfup,sfit} {#1}
315 \@@_set_mathalphabet_Latin:nnn {sf} {up,it} {#1}
316 }
317 }
318 \@@_set_mathalphabet_Latin:nnn {sfup} {up,it} {#1}
319 }
320
321 \@@_new_alphabet_config:nnn {sfup} {latin}
322 {
323 \bool_if:NTF \g_@@_sfliteral_bool
324 {
325 \@@_set_normal_latin:nn {sfup} {#1}
326 \@@_set_mathalphabet_latin:nnn {sf} {up} {#1}
327 }
328 {
329 \bool_if:NT \g_@@_upsans_bool
330 {
331 \@@_set_normal_latin:nn {sfup,sfit} {#1}
332 \@@_set_mathalphabet_latin:nnn {sf} {up,it} {#1}
333 }
334 }
335 \@@_set_mathalphabet_latin:nnn {sfup} {up,it} {#1}
336 }
337 % \end{macrocode}
338 %
339 % \subsection{Sans serif italic: sfit}
340 %
341 % \begin{macrocode}
342 \@@_new_alphabet_config:nnn {sfit} {Latin}
343 {
344 \bool_if:NTF \g_@@_sfliteral_bool
345 {
346 \@@_set_normal_Latin:nn {sfit} {#1}
347 \@@_set_mathalphabet_Latin:nnn {sf} {it} {#1}
348 }
349 {
350 \bool_if:NF \g_@@_upsans_bool
351 {
352 \@@_set_normal_Latin:nn {sfup,sfit} {#1}
353 \@@_set_mathalphabet_Latin:nnn {sf} {up,it} {#1}
354 }
355 }
356 \@@_set_mathalphabet_Latin:nnn {sfit} {up,it} {#1}
357 }
358
359 \@@_new_alphabet_config:nnn {sfit} {latin}
360 {
361 \bool_if:NTF \g_@@_sfliteral_bool
362 {
363 \@@_set_normal_latin:nn {sfit} {#1}
364 \@@_set_mathalphabet_latin:nnn {sf} {it}{#1}
365 }
366 {
367 \bool_if:NF \g_@@_upsans_bool
368 {
369 \@@_set_normal_latin:nn {sfup,sfit} {#1}
370 \@@_set_mathalphabet_latin:nnn {sf} {up,it}{#1}
371 }
372 }
373 \@@_set_mathalphabet_latin:nnn {sfit} {up,it}{#1}
374 }
375 % \end{macrocode}
376 %
377 % \subsection{Typewriter or monospaced: tt}
378 % \begin{macrocode}
379 \@@_new_alphabet_config:nnn {tt} {num}
380 {
381 \@@_set_mathalphabet_numbers:nnn {tt} {up}{#1}
382 }
383 \@@_new_alphabet_config:nnn {tt} {Latin}
384 {
385 \@@_set_mathalphabet_Latin:nnn {tt} {up,it}{#1}
386 }
387 \@@_new_alphabet_config:nnn {tt} {latin}
388 {
389 \@@_set_mathalphabet_latin:nnn {tt} {up,it}{#1}
390 }
391 % \end{macrocode}
392 %
393 %
394 % \subsection{Bold Italic: bfit}
395 % \begin{macrocode}
396 \@@_new_alphabet_config:nnn {bfit} {Latin}
397 {
398 \bool_if:NF \g_@@_bfupLatin_bool
399 {
400 \@@_set_normal_Latin:nn {bfup,bfit} {#1}
401 }
402 \@@_set_mathalphabet_Latin:nnn {bfit} {up,it}{#1}
403 \bool_if:NTF \g_@@_bfliteral_bool
404 {
405 \@@_set_normal_Latin:nn {bfit} {#1}
406 \@@_set_mathalphabet_Latin:nnn {bf} {it}{#1}
407 }
408 {
409 \bool_if:NF \g_@@_bfupLatin_bool
410 {
411 \@@_set_normal_Latin:nn {bfup,bfit} {#1}
412 \@@_set_mathalphabet_Latin:nnn {bf} {up,it}{#1}
413 }
414 }
415 }
416
417 \@@_new_alphabet_config:nnn {bfit} {latin}
418 {
419 \bool_if:NF \g_@@_bfuplatin_bool
420 {
421 \@@_set_normal_latin:nn {bfup,bfit} {#1}
422 }
423 \@@_set_mathalphabet_latin:nnn {bfit} {up,it}{#1}
424 \bool_if:NTF \g_@@_bfliteral_bool
425 {
426 \@@_set_normal_latin:nn {bfit} {#1}
427 \@@_set_mathalphabet_latin:nnn {bf} {it}{#1}
428 }
429 {
430 \bool_if:NF \g_@@_bfuplatin_bool
431 {
432 \@@_set_normal_latin:nn {bfup,bfit} {#1}
433 \@@_set_mathalphabet_latin:nnn {bf} {up,it}{#1}
434 }
435 }
436 }
437
438 \@@_new_alphabet_config:nnn {bfit} {Greek}
439 {
440 \@@_set_mathalphabet_Greek:nnn {bfit} {up,it}{#1}
441 \bool_if:NTF \g_@@_bfliteral_bool
442 {
443 \@@_set_normal_Greek:nn {bfit}{#1}
444 \@@_set_mathalphabet_Greek:nnn {bf} {it}{#1}
445 }
446 {
447 \bool_if:NF \g_@@_bfupGreek_bool
448 {
449 \@@_set_normal_Greek:nn {bfup,bfit}{#1}
450 \@@_set_mathalphabet_Greek:nnn {bf} {up,it}{#1}
451 }
452 }
453 }
454
455 \@@_new_alphabet_config:nnn {bfit} {greek}
456 {
457 \@@_set_mathalphabet_greek:nnn {bfit} {up,it} {#1}
458 \bool_if:NTF \g_@@_bfliteral_bool
459 {
460 \@@_set_normal_greek:nn {bfit} {#1}
461 \@@_set_mathalphabet_greek:nnn {bf} {it} {#1}
462 }
463 {
464 \bool_if:NF \g_@@_bfupgreek_bool
465 {
466 \@@_set_normal_greek:nn {bfit,bfup} {#1}
467 \@@_set_mathalphabet_greek:nnn {bf} {up,it} {#1}
468 }
469 }
470 }
471
472 \@@_new_alphabet_config:nnn {bfit} {misc}
473 {
474 \bool_if:NTF \g_@@_literal_Nabla_bool
475 { \@@_set_normal_char:nnn {Nabla} {bfit} {#1} }
476 {
477 \bool_if:NF \g_@@_upNabla_bool
478 { \@@_set_normal_char:nnn {Nabla} {bfup,bfit} {#1} }
479 }
480
481 \bool_if:NTF \g_@@_literal_partial_bool
482 { \@@_set_normal_char:nnn {partial} {bfit} {#1} }
483 {
484 \bool_if:NF \g_@@_uppartial_bool
485 { \@@_set_normal_char:nnn {partial} {bfup,bfit} {#1} }
486 }
487
488 \@@_set_mathalphabet_pos:nnnn {bfit} {partial} {up,it} {#1}
489 \@@_set_mathalphabet_pos:nnnn {bfit} {Nabla} {up,it} {#1}
490
491 \bool_if:NTF \g_@@_literal_partial_bool
492 {
493 \@@_set_mathalphabet_pos:nnnn {bf} {partial} {it}{#1}
494 }
495 {
496 \bool_if:NF \g_@@_uppartial_bool
497 {
498 \@@_set_mathalphabet_pos:nnnn {bf} {partial} {up,it}{#1}
499 }
500 }
501
502 \bool_if:NTF \g_@@_literal_Nabla_bool
503 {
504 \@@_set_mathalphabet_pos:nnnn {bf} {Nabla} {it}{#1}
505 }
506 {
507 \bool_if:NF \g_@@_upNabla_bool
508 {
509 \@@_set_mathalphabet_pos:nnnn {bf} {Nabla} {up,it}{#1}
510 }
511 }
512 }
513 % \end{macrocode}
514 %
515 %
516 % \subsection{Bold Upright: bfup}
517 % \begin{macrocode}
518 \@@_new_alphabet_config:nnn {bfup} {num}
519 {
520 \@@_set_mathalphabet_numbers:nnn {bf} {up} {#1}
521 \@@_set_mathalphabet_numbers:nnn {bfup} {up} {#1}
522 }
523
524 \@@_new_alphabet_config:nnn {bfup} {Latin}
525 {
526 \bool_if:NT \g_@@_bfupLatin_bool
527 {
528 \@@_set_normal_Latin:nn {bfup,bfit} {#1}
529 }
530 \@@_set_mathalphabet_Latin:nnn {bfup} {up,it} {#1}
531 \bool_if:NTF \g_@@_bfliteral_bool
532 {
533 \@@_set_normal_Latin:nn {bfup} {#1}
534 \@@_set_mathalphabet_Latin:nnn {bf} {up} {#1}
535 }
536 {
537 \bool_if:NT \g_@@_bfupLatin_bool
538 {
539 \@@_set_normal_Latin:nn {bfup,bfit} {#1}
540 \@@_set_mathalphabet_Latin:nnn {bf} {up,it} {#1}
541 }
542 }
543 }
544
545 \@@_new_alphabet_config:nnn {bfup} {latin}
546 {
547 \bool_if:NT \g_@@_bfuplatin_bool
548 {
549 \@@_set_normal_latin:nn {bfup,bfit} {#1}
550 }
551 \@@_set_mathalphabet_latin:nnn {bfup} {up,it} {#1}
552 \bool_if:NTF \g_@@_bfliteral_bool
553 {
554 \@@_set_normal_latin:nn {bfup} {#1}
555 \@@_set_mathalphabet_latin:nnn {bf} {up} {#1}
556 }
557 {
558 \bool_if:NT \g_@@_bfuplatin_bool
559 {
560 \@@_set_normal_latin:nn {bfup,bfit} {#1}
561 \@@_set_mathalphabet_latin:nnn {bf} {up,it} {#1}
562 }
563 }
564 }
565
566 \@@_new_alphabet_config:nnn {bfup} {Greek}
567 {
568 \@@_set_mathalphabet_Greek:nnn {bfup} {up,it} {#1}
569 \bool_if:NTF \g_@@_bfliteral_bool
570 {
571 \@@_set_normal_Greek:nn {bfup} {#1}
572 \@@_set_mathalphabet_Greek:nnn {bf} {up} {#1}
573 }
574 {
575 \bool_if:NT \g_@@_bfupGreek_bool
576 {
577 \@@_set_normal_Greek:nn {bfup,bfit} {#1}
578 \@@_set_mathalphabet_Greek:nnn {bf} {up,it} {#1}
579 }
580 }
581 }
582
583 \@@_new_alphabet_config:nnn {bfup} {greek}
584 {
585 \@@_set_mathalphabet_greek:nnn {bfup} {up,it} {#1}
586 \bool_if:NTF \g_@@_bfliteral_bool
587 {
588 \@@_set_normal_greek:nn {bfup} {#1}
589 \@@_set_mathalphabet_greek:nnn {bf} {up} {#1}
590 }
591 {
592 \bool_if:NT \g_@@_bfupgreek_bool
593 {
594 \@@_set_normal_greek:nn {bfup,bfit} {#1}
595 \@@_set_mathalphabet_greek:nnn {bf} {up,it} {#1}
596 }
597 }
598 }
599
600 \@@_new_alphabet_config:nnn {bfup} {misc}
601 {
602 \bool_if:NTF \g_@@_literal_Nabla_bool
603 {
604 \@@_set_normal_char:nnn {Nabla} {bfup} {#1}
605 }
606 {
607 \bool_if:NT \g_@@_upNabla_bool
608 {
609 \@@_set_normal_char:nnn {Nabla} {bfup,bfit} {#1}
610 }
611 }
612 \bool_if:NTF \g_@@_literal_partial_bool
613 {
614 \@@_set_normal_char:nnn {partial} {bfup} {#1}
615 }
616 {
617 \bool_if:NT \g_@@_uppartial_bool
618 {
619 \@@_set_normal_char:nnn {partial} {bfup,bfit} {#1}
620 }
621 }
622 \@@_set_mathalphabet_pos:nnnn {bfup} {partial} {up,it} {#1}
623 \@@_set_mathalphabet_pos:nnnn {bfup} {Nabla} {up,it} {#1}
624 \@@_set_mathalphabet_pos:nnnn {bfup} {digamma} {up} {#1}
625 \@@_set_mathalphabet_pos:nnnn {bfup} {Digamma} {up} {#1}
626 \@@_set_mathalphabet_pos:nnnn {bf} {digamma} {up} {#1}
627 \@@_set_mathalphabet_pos:nnnn {bf} {Digamma} {up} {#1}
628 \bool_if:NTF \g_@@_literal_partial_bool
629 {
630 \@@_set_mathalphabet_pos:nnnn {bf} {partial} {up} {#1}
631 }
632 {
633 \bool_if:NT \g_@@_uppartial_bool
634 {
635 \@@_set_mathalphabet_pos:nnnn {bf} {partial} {up,it} {#1}
636 }
637 }
638 \bool_if:NTF \g_@@_literal_Nabla_bool
639 {
640 \@@_set_mathalphabet_pos:nnnn {bf} {Nabla} {up}{#1}
641 }
642 {
643 \bool_if:NT \g_@@_upNabla_bool
644 {
645 \@@_set_mathalphabet_pos:nnnn {bf} {Nabla} {up,it} {#1}
646 }
647 }
648 }
649 % \end{macrocode}
650 %
651 % \subsection{Bold fractur or fraktur or blackletter: bffrak}
652 % \begin{macrocode}
653 \@@_new_alphabet_config:nnn {bffrak} {Latin}
654 {
655 \@@_set_mathalphabet_Latin:nnn {bffrak} {up,it}{#1}
656 }
657
658 \@@_new_alphabet_config:nnn {bffrak} {latin}
659 {
660 \@@_set_mathalphabet_latin:nnn {bffrak} {up,it}{#1}
661 }
662 % \end{macrocode}
663 %
664 % \subsection{Bold script or calligraphic: bfscr}
665 % \begin{macrocode}
666 \@@_new_alphabet_config:nnn {bfscr} {Latin}
667 {
668 \@@_set_mathalphabet_Latin:nnn {bfscr} {up,it}{#1}
669 }
670 \@@_new_alphabet_config:nnn {bfscr} {latin}
671 {
672 \@@_set_mathalphabet_latin:nnn {bfscr} {up,it}{#1}
673 }
674 \@@_new_alphabet_config:nnn {bfcal} {Latin}
675 {
676 \@@_set_mathalphabet_Latin:nnn {bfcal} {up,it}{#1}
677 }
678 \@@_new_alphabet_config:nnn {bfcal} {latin}
679 {
680 \@@_set_mathalphabet_latin:nnn {bfcal} {up,it}{#1}
681 }
682 % \end{macrocode}
683 %
684 % \subsection{Bold upright sans serif: bfsfup}
685 % \begin{macrocode}
686 \@@_new_alphabet_config:nnn {bfsfup} {num}
687 {
688 \@@_set_mathalphabet_numbers:nnn {bfsf} {up}{#1}
689 \@@_set_mathalphabet_numbers:nnn {bfsfup} {up}{#1}
690 }
691 \@@_new_alphabet_config:nnn {bfsfup} {Latin}
692 {
693 \bool_if:NTF \g_@@_sfliteral_bool
694 {
695 \@@_set_normal_Latin:nn {bfsfup} {#1}
696 \@@_set_mathalphabet_Latin:nnn {bfsf} {up}{#1}
697 }
698 {
699 \bool_if:NT \g_@@_upsans_bool
700 {
701 \@@_set_normal_Latin:nn {bfsfup,bfsfit} {#1}
702 \@@_set_mathalphabet_Latin:nnn {bfsf} {up,it}{#1}
703 }
704 }
705 \@@_set_mathalphabet_Latin:nnn {bfsfup} {up,it}{#1}
706 }
707
708 \@@_new_alphabet_config:nnn {bfsfup} {latin}
709 {
710 \bool_if:NTF \g_@@_sfliteral_bool
711 {
712 \@@_set_normal_latin:nn {bfsfup} {#1}
713 \@@_set_mathalphabet_latin:nnn {bfsf} {up}{#1}
714 }
715 {
716 \bool_if:NT \g_@@_upsans_bool
717 {
718 \@@_set_normal_latin:nn {bfsfup,bfsfit} {#1}
719 \@@_set_mathalphabet_latin:nnn {bfsf} {up,it}{#1}
720 }
721 }
722 \@@_set_mathalphabet_latin:nnn {bfsfup} {up,it}{#1}
723 }
724
725 \@@_new_alphabet_config:nnn {bfsfup} {Greek}
726 {
727 \bool_if:NTF \g_@@_sfliteral_bool
728 {
729 \@@_set_normal_Greek:nn {bfsfup}{#1}
730 \@@_set_mathalphabet_Greek:nnn {bfsf} {up}{#1}
731 }
732 {
733 \bool_if:NT \g_@@_upsans_bool
734 {
735 \@@_set_normal_Greek:nn {bfsfup,bfsfit}{#1}
736 \@@_set_mathalphabet_Greek:nnn {bfsf} {up,it}{#1}
737 }
738 }
739 \@@_set_mathalphabet_Greek:nnn {bfsfup} {up,it}{#1}
740 }
741
742 \@@_new_alphabet_config:nnn {bfsfup} {greek}
743 {
744 \bool_if:NTF \g_@@_sfliteral_bool
745 {
746 \@@_set_normal_greek:nn {bfsfup} {#1}
747 \@@_set_mathalphabet_greek:nnn {bfsf} {up} {#1}
748 }
749 {
750 \bool_if:NT \g_@@_upsans_bool
751 {
752 \@@_set_normal_greek:nn {bfsfup,bfsfit} {#1}
753 \@@_set_mathalphabet_greek:nnn {bfsf} {up,it} {#1}
754 }
755 }
756 \@@_set_mathalphabet_greek:nnn {bfsfup} {up,it} {#1}
757 }
758
759 \@@_new_alphabet_config:nnn {bfsfup} {misc}
760 {
761 \bool_if:NTF \g_@@_literal_Nabla_bool
762 {
763 \@@_set_normal_char:nnn {Nabla}{bfsfup}{#1}
764 }
765 {
766 \bool_if:NT \g_@@_upNabla_bool
767 {
768 \@@_set_normal_char:nnn {Nabla}{bfsfup,bfsfit}{#1}
769 }
770 }
771 \bool_if:NTF \g_@@_literal_partial_bool
772 {
773 \@@_set_normal_char:nnn {partial}{bfsfup}{#1}
774 }
775 {
776 \bool_if:NT \g_@@_uppartial_bool
777 {
778 \@@_set_normal_char:nnn {partial}{bfsfup,bfsfit}{#1}
779 }
780 }
781 \@@_set_mathalphabet_pos:nnnn {bfsfup} {partial} {up,it}{#1}
782 \@@_set_mathalphabet_pos:nnnn {bfsfup} {Nabla} {up,it}{#1}
783 \bool_if:NTF \g_@@_literal_partial_bool
784 {
785 \@@_set_mathalphabet_pos:nnnn {bfsf} {partial} {up}{#1}
786 }
787 {
788 \bool_if:NT \g_@@_uppartial_bool
789 {
790 \@@_set_mathalphabet_pos:nnnn {bfsf} {partial} {up,it}{#1}
791 }
792 }
793 \bool_if:NTF \g_@@_literal_Nabla_bool
794 {
795 \@@_set_mathalphabet_pos:nnnn {bfsf} {Nabla} {up}{#1}
796 }
797 {
798 \bool_if:NT \g_@@_upNabla_bool
799 {
800 \@@_set_mathalphabet_pos:nnnn {bfsf} {Nabla} {up,it}{#1}
801 }
802 }
803 }
804 % \end{macrocode}
805 %
806 %
807 % \subsection{Bold italic sans serif: bfsfit}
808 % \begin{macrocode}
809 \@@_new_alphabet_config:nnn {bfsfit} {Latin}
810 {
811 \bool_if:NTF \g_@@_sfliteral_bool
812 {
813 \@@_set_normal_Latin:nn {bfsfit} {#1}
814 \@@_set_mathalphabet_Latin:nnn {bfsf} {it}{#1}
815 }
816 {
817 \bool_if:NF \g_@@_upsans_bool
818 {
819 \@@_set_normal_Latin:nn {bfsfup,bfsfit} {#1}
820 \@@_set_mathalphabet_Latin:nnn {bfsf} {up,it}{#1}
821 }
822 }
823 \@@_set_mathalphabet_Latin:nnn {bfsfit} {up,it}{#1}
824 }
825
826 \@@_new_alphabet_config:nnn {bfsfit} {latin}
827 {
828 \bool_if:NTF \g_@@_sfliteral_bool
829 {
830 \@@_set_normal_latin:nn {bfsfit} {#1}
831 \@@_set_mathalphabet_latin:nnn {bfsf} {it}{#1}
832 }
833 {
834 \bool_if:NF \g_@@_upsans_bool
835 {
836 \@@_set_normal_latin:nn {bfsfup,bfsfit} {#1}
837 \@@_set_mathalphabet_latin:nnn {bfsf} {up,it}{#1}
838 }
839 }
840 \@@_set_mathalphabet_latin:nnn {bfsfit} {up,it}{#1}
841 }
842
843 \@@_new_alphabet_config:nnn {bfsfit} {Greek}
844 {
845 \bool_if:NTF \g_@@_sfliteral_bool
846 {
847 \@@_set_normal_Greek:nn {bfsfit}{#1}
848 \@@_set_mathalphabet_Greek:nnn {bfsf} {it}{#1}
849 }
850 {
851 \bool_if:NF \g_@@_upsans_bool
852 {
853 \@@_set_normal_Greek:nn {bfsfup,bfsfit}{#1}
854 \@@_set_mathalphabet_Greek:nnn {bfsf} {up,it}{#1}
855 }
856 }
857 \@@_set_mathalphabet_Greek:nnn {bfsfit} {up,it}{#1}
858 }
859
860 \@@_new_alphabet_config:nnn {bfsfit} {greek}
861 {
862 \bool_if:NTF \g_@@_sfliteral_bool
863 {
864 \@@_set_normal_greek:nn {bfsfit} {#1}
865 \@@_set_mathalphabet_greek:nnn {bfsf} {it} {#1}
866 }
867 {
868 \bool_if:NF \g_@@_upsans_bool
869 {
870 \@@_set_normal_greek:nn {bfsfup,bfsfit} {#1}
871 \@@_set_mathalphabet_greek:nnn {bfsf} {up,it} {#1}
872 }
873 }
874 \@@_set_mathalphabet_greek:nnn {bfsfit} {up,it} {#1}
875 }
876
877 \@@_new_alphabet_config:nnn {bfsfit} {misc}
878 {
879 \bool_if:NTF \g_@@_literal_Nabla_bool
880 {
881 \@@_set_normal_char:nnn {Nabla}{bfsfit}{#1}
882 }
883 {
884 \bool_if:NF \g_@@_upNabla_bool
885 {
886 \@@_set_normal_char:nnn {Nabla}{bfsfup,bfsfit}{#1}
887 }
888 }
889 \bool_if:NTF \g_@@_literal_partial_bool
890 {
891 \@@_set_normal_char:nnn {partial}{bfsfit}{#1}
892 }
893 {
894 \bool_if:NF \g_@@_uppartial_bool
895 {
896 \@@_set_normal_char:nnn {partial}{bfsfup,bfsfit}{#1}
897 }
898 }
899 \@@_set_mathalphabet_pos:nnnn {bfsfit} {partial} {up,it}{#1}
900 \@@_set_mathalphabet_pos:nnnn {bfsfit} {Nabla} {up,it}{#1}
901 \bool_if:NTF \g_@@_literal_partial_bool
902 {
903 \@@_set_mathalphabet_pos:nnnn {bfsf} {partial} {it}{#1}
904 }
905 {
906 \bool_if:NF \g_@@_uppartial_bool
907 {
908 \@@_set_mathalphabet_pos:nnnn {bfsf} {partial} {up,it}{#1}
909 }
910 }
911 \bool_if:NTF \g_@@_literal_Nabla_bool
912 {
913 \@@_set_mathalphabet_pos:nnnn {bfsf} {Nabla} {it}{#1}
914 }
915 {
916 \bool_if:NF \g_@@_upNabla_bool
917 {
918 \@@_set_mathalphabet_pos:nnnn {bfsf} {Nabla} {up,it}{#1}
919 }
920 }
921 }
922 % \end{macrocode}
923 %
924 % \begin{macrocode}
925 %</package>
926 % \end{macrocode}
927
928 \endinput
929
930 % /©
931 %
932 % ------------------------------------------------
933 % The UNICODE-MATH package <wspr.io/unicode-math>
934 % ------------------------------------------------
935 % This package is free software and may be redistributed and/or modified under
936 % the conditions of the LaTeX Project Public License, version 1.3c or higher
937 % (your choice): <http://www.latex-project.org/lppl/>.
938 % ------------------------------------------------
939 % Copyright 2006-2019 Will Robertson, LPPL "maintainer"
940 % Copyright 2010-2017 Philipp Stephani
941 % Copyright 2011-2017 Joseph Wright
942 % Copyright 2012-2015 Khaled Hosny
943 % ------------------------------------------------
944 %
945 % ©/