summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/optex/base/f-erewhon.opm
blob: efc23c411e6791c48bb9fe2fa156ea096cc2d6b2 (plain)
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
%% This is part of the OpTeX project, see http://petr.olsak.net/optex

\_famdecl [Erewhon] \Erewhon {Derived from Heuristica with slanted variants}
        {\caps} {\rm \bf \it \bi \sl \bs} {Erewhon}
        {[Erewhon-Regular]}
        {\_def\_fontnamegen {[Erewhon-\_currV]:script=latn;\_capsV\_fontfeatures}}

\_wlog{\_detokenize{%
Modifiers:^^J
 \caps ...... caps & small caps^^J
 \slant ..... slanted Regular, Bold^^J%
Variants:^^J
 \sl ... slanted Regular, \sb ... slanted Bold^^J
}}

\_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic Bolditalic }
\_moddef \caps     {\_fsetV caps=+smcp;\_ffonum; }
\_moddef \slant    {\_fvars RegularSlanted BoldSlanted RegularSlanted BoldSlanted }
\_private \slant ;
\_famvardef \sl    {\_slant\_rm}
\_famvardef \bs    {\_slant\_bf}

\_initfontfamily % new font family must be initialized

\_loadmath {[Erewhon-Math]}

\_endcode

See the file `f-heros.opm` for information about principles of such
font-macro-files.