| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [STIXTwo] \StixTwo {Second version of STIX} |
| 4 |
{\caps} {\rm \bf \it \bi} {STIXTwoMath} |
| 5 |
{[STIXTwoText-Regular]} |
| 6 |
{\_def\_fontnamegen {[STIXTwoText-\_currV]:\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifiers:^^J |
| 10 |
\caps ...... caps & small caps,^^J |
| 11 |
\medium .... \rm,\it medium,^^J |
| 12 |
\bolder .... \rm,\it semibold (between medium and \bf)^^J |
| 13 |
}} |
| 14 |
|
| 15 |
\_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic BoldItalic } |
| 16 |
\_moddef \medium {\_fvars Medium Bold MediumItalic BoldItalic } |
| 17 |
\_moddef \bolder {\_fvars SemiBold Bold SemiBoldItalic BoldItalic } |
| 18 |
\_moddef \caps {\_fsetV caps=+smcp;\_ffonum; } |
| 19 |
|
| 20 |
\_initfontfamily % new font family must be initialized |
| 21 |
|
| 22 |
\_loadmath {[STIXTwoMath-Regular]} |
| 23 |
|
| 24 |
\_endcode |
| 25 |
|
| 26 |
See the file `f-heros.opm` for information about principles of such |
| 27 |
font-macro-files. |
| 28 |
|