| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Erewhon] \Erewhon {Derived from Heuristica with slanted variants} |
| 4 |
{\caps} {\rm \bf \it \bi \sl \bs} {Erewhon} |
| 5 |
{[Erewhon-Regular]} |
| 6 |
{\_def\_fontnamegen {[Erewhon-\_currV]:script=latn;\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifiers:^^J |
| 10 |
\caps ...... caps & small caps^^J |
| 11 |
\slant ..... slanted Regular, Bold^^J% |
| 12 |
Variants:^^J |
| 13 |
\sl ... slanted Regular, \bs ... slanted Bold^^J |
| 14 |
}} |
| 15 |
|
| 16 |
\_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic Bolditalic } |
| 17 |
\_moddef \caps {\_fsetV caps=+smcp;\_ffonum; } |
| 18 |
\_moddef \slant {\_fvars RegularSlanted BoldSlanted RegularSlanted BoldSlanted } |
| 19 |
\_private \slant ; |
| 20 |
\_famvardef \sl {\_slant\_rm} |
| 21 |
\_famvardef \bs {\_slant\_bf} |
| 22 |
|
| 23 |
\_initfontfamily % new font family must be initialized |
| 24 |
|
| 25 |
\_loadmath {[Erewhon-Math]} |
| 26 |
|
| 27 |
\_endcode |
| 28 |
|
| 29 |
See the file `f-heros.opm` for information about principles of such |
| 30 |
font-macro-files. |
| 31 |
|