| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Baskerville] \Baskerville {Free variants of classical Baskerville} |
| 4 |
{\caps} {\rm \bf \it \bi} {} |
| 5 |
{[BaskervilleF-Regular]} |
| 6 |
{\_def \_fontnamegen {[BaskervilleF-\_currV]:script=latn;\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifier:^^J |
| 10 |
\caps ...... caps & small caps^^J |
| 11 |
}} |
| 12 |
|
| 13 |
\_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic BoldItalic } |
| 14 |
\_moddef \caps {\_fsetV caps=+smcp;\_ffonum; } |
| 15 |
|
| 16 |
\_initfontfamily % new font family must be initialized |
| 17 |
|
| 18 |
\_endcode |
| 19 |
|
| 20 |
See the file `f-heros.opm` for information about principles of such |
| 21 |
font-macro-files. |
| 22 |
|