| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Clara] \Clara {Clara, a serif font family} |
| 4 |
{\caps} {\rm \bf \it \bi} |
| 5 |
{XITSMath} {[clarar]} |
| 6 |
{\_def\_fontnamegen {[clara\_currV]:\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifiers:^^J |
| 10 |
\caps ...... caps & small caps (only \rm with simple alphabet!)^^J |
| 11 |
}} |
| 12 |
|
| 13 |
% Modes |
| 14 |
\_moddef \resetmod {\_fsetV caps={} \_fvars r b i bi } |
| 15 |
\_moddef \caps {\_fsetV caps=+smcp; } % onum; set by smcp; feature |
| 16 |
\_moddef \nocaps {\_fsetV caps={} } |
| 17 |
|
| 18 |
\_initfontfamily % New font family must be initialized |
| 19 |
|
| 20 |
\_loadmath {[XITSMath-Regular]} |
| 21 |
\_loadboldmath {[XITSMath-Bold]} \to {[XITSMath-Regular]} |
| 22 |
|
| 23 |
\_endcode |
| 24 |
|