diff options
author | Norbert Preining <norbert@preining.info> | 2022-08-05 03:01:02 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-08-05 03:01:02 +0000 |
commit | 572dc806dd00d29ab418ec6deaa36762d1d59ae6 (patch) | |
tree | 0e2e600cc1d97a77661ee9976baa119ea8206854 /macros/optex/base/f-stixtwo.opm | |
parent | 6cb109095c2e8fd355cda8b1996dee2f9e12d8a0 (diff) |
CTAN sync 202208050301
Diffstat (limited to 'macros/optex/base/f-stixtwo.opm')
-rw-r--r-- | macros/optex/base/f-stixtwo.opm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/macros/optex/base/f-stixtwo.opm b/macros/optex/base/f-stixtwo.opm new file mode 100644 index 0000000000..629b57a741 --- /dev/null +++ b/macros/optex/base/f-stixtwo.opm @@ -0,0 +1,28 @@ +%% This is part of the OpTeX project, see http://petr.olsak.net/optex + +\_famdecl [STIXTwo] \StixTwo {Second version of STIX} + {\caps} {\rm \bf \it \bi} {STIXTwoMath} + {[STIXTwoText-Regular]} + {\_def\_fontnamegen {[STIXTwoText-\_currV]:\_capsV\_fontfeatures}} + +\_wlog{\_detokenize{% +Modifiers:^^J + \caps ...... caps & small caps,^^J + \medium .... \rm,\it medium,^^J + \bolder .... \rm,\it semibold (between medium and \bf)^^J +}} + +\_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic BoldItalic } +\_moddef \medium {\_fvars Medium Bold MediumItalic BoldItalic } +\_moddef \bolder {\_fvars SemiBold Bold SemiBoldItalic BoldItalic } +\_moddef \caps {\_fsetV caps=+smcp;\_ffonum; } + +\_initfontfamily % new font family must be initialized + +\_loadmath {[STIXTwoMath-Regular]} + +\_endcode + +See the file `f-heros.opm` for information about principles of such +font-macro-files. + |