Debian Codegraph @

texmf-dist/tex/optex/base/f-xits.opm

raw
1 %% This is part of the OpTeX project, see http://petr.olsak.net/optex
2
3 \_famdecl [XITS] \Xits {A fork of STIX with Bold Math variant}
4 {\caps} {\rm \bf \it \bi} {XITSMath}
5 {[XITS-Regular]}
6 {\_def\_fontnamegen {[XITS-\_currV]:\_capsV\_fontfeatures}}
7
8 \_wlog{\_detokenize{%
9 Modifier:^^J
10 \caps ...... caps & small caps (works only for \rm)^^J
11 }}
12
13 \_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic BoldItalic }
14 \_moddef \caps {\_fsetV caps=+smcp;\_ffonum; }
15
16 \_initfontfamily % new font family must be initialized
17
18 \_loadmath {[XITSMath-Regular]}
19 \_loadboldmath {[XITSMath-Bold]} \to {[XITSMath-Regular]}
20
21 \_endcode
22
23 See the file `f-heros.opm` for information about principles of such
24 font-macro-files.
25