| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Technika] \Technika {Fonts from visual style of CTU in Prague} |
| 4 |
{\caps \light \book} {\rm \bf \it \bi \stencil} {} |
| 5 |
{[Technika-Regular]} |
| 6 |
{\_def\_fontnamegen {[Technika\_stencilV-\_currV]:\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifiers:^^J |
| 10 |
\light ..... lighter variants: \rm\bf=light \bf\bi=normal^^J |
| 11 |
\book ...... semi-ligher variants: \rm\bf=book \bf\bi=bold^^J |
| 12 |
\caps ...... caps & small caps^^J% |
| 13 |
Special variant:^^J |
| 14 |
\stencil ... dashed leters (only uppercase)^^J |
| 15 |
}} |
| 16 |
|
| 17 |
\_moddef \resetmod {\_fsetV stencil={},caps={} \_fvars Regular Bold Italic BoldItalic } |
| 18 |
\_moddef \light {\_fsetV stencil={} \_fvars Light Regular LightItalic Italic } |
| 19 |
\_moddef \book {\_fsetV stencil={} \_fvars Book Bold BookItalic BoldItalic } |
| 20 |
\_moddef \caps {\_fsetV caps=+smcp\_ffonum; } |
| 21 |
|
| 22 |
\_famvardef \stencil {\_fsetV stencil=Stencil \_fvars Bold . Bold . \rm} |
| 23 |
|
| 24 |
|
| 25 |
\_initfontfamily % new font family must be initialized |
| 26 |
|
| 27 |
\_endcode |
| 28 |
|
| 29 |
See the file `f-heros.opm` for information about principles of such |
| 30 |
font-macro-files. |
| 31 |
|