| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Antykwa Torunska] \Antt {Traditional Polish font family} |
| 4 |
{\cond \medium \light \caps} {\rm \bf \it \bi} {Pagella} |
| 5 |
{[AntykwaTorunska-Regular]} |
| 6 |
{\_def\_fontnamegen {[AntykwaTorunska\_sfamxV\_sfamyV-\_currV]:script=latn;\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifiers:^^J |
| 10 |
\caps ...... caps & small caps^^J |
| 11 |
\cond ...... condensed^^J |
| 12 |
\medium .... medium weight^^J |
| 13 |
\light ..... light weight^^J |
| 14 |
\cond ...... condensed^^J |
| 15 |
}} |
| 16 |
|
| 17 |
\_moddef \resetmod {\_fsetV sfamx={},sfamy={},caps={} \_fvars Regular Bold Italic BoldItalic } |
| 18 |
\_moddef \cond {\_fsetV sfamx=Cond \_fvars Regular . Italic . |
| 19 |
\_onlyif sfamy={}: {\_fvars Regular Bold Italic BoldItalic }} |
| 20 |
\_moddef \medium {\_fsetV sfamy=Med \_fvars Regular . Italic . } |
| 21 |
\_moddef \light {\_fsetV sfamy=Light \_fvars Regular . Italic . } |
| 22 |
\_moddef \caps {\_fsetV caps=+smcp;\_ffonum; } |
| 23 |
|
| 24 |
\_initfontfamily % new font family must be initialized |
| 25 |
|
| 26 |
\_loadmath{[texgyrepagella-math]} |
| 27 |
|
| 28 |
\_endcode |
| 29 |
|
| 30 |
See the file `f-heros.opm` for information about principles of such |
| 31 |
font-macro-files. |
| 32 |
|