summaryrefslogtreecommitdiff
path: root/macros/optex/base/f-erewhon.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/optex/base/f-erewhon.opm')
-rw-r--r--macros/optex/base/f-erewhon.opm31
1 files changed, 31 insertions, 0 deletions
diff --git a/macros/optex/base/f-erewhon.opm b/macros/optex/base/f-erewhon.opm
new file mode 100644
index 0000000000..11fc55330e
--- /dev/null
+++ b/macros/optex/base/f-erewhon.opm
@@ -0,0 +1,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]:\_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.
+