diff options
Diffstat (limited to 'macros/optex/base/f-clara.opm')
-rw-r--r-- | macros/optex/base/f-clara.opm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/macros/optex/base/f-clara.opm b/macros/optex/base/f-clara.opm new file mode 100644 index 0000000000..1410965dd2 --- /dev/null +++ b/macros/optex/base/f-clara.opm @@ -0,0 +1,24 @@ +%% This is part of the OpTeX project, see http://petr.olsak.net/optex + +\_famdecl [Clara] \Clara {Clara, a serif font family} + {\caps} {\rm \bf \it \bi} + {XITSMath} {[clarar]} + {\_def\_fontnamegen {[clara\_currV]:\_capsV\_fontfeatures}} + +\_wlog{\_detokenize{% +Modifiers:^^J + \caps ...... caps & small caps (only \rm with simple alphabet!)^^J +}} + +% Modes +\_moddef \resetmod {\_fsetV caps={} \_fvars r b i bi } +\_moddef \caps {\_fsetV caps=+smcp; } % onum; set by smcp; feature +\_moddef \nocaps {\_fsetV caps={} } + +\_initfontfamily % New font family must be initialized + +\_loadmath {[XITSMath-Regular]} +\_loadboldmath {[XITSMath-Bold]} \to {[XITSMath-Regular]} + +\_endcode + |