summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/base/f-technika.opm
blob: 77b894e53b2fecd50c31addbfc2278d6e5e3dda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%% This is part of the OpTeX project, see http://petr.olsak.net/optex

\_famdecl [Technika] \Technika {Fonts from visual style of CTU in Prague}
        {\caps \light} {\rm \bf \it \bi \stencil} {}
        {[Technika-Regular]}
        {\_def\_fontnamegen {[Technika\_stencilV-\_currV]:\_capsV\_fontfeatures}}

\_wlog{\_detokenize{%
Modifiers:^^J
 \light ..... ligher variants: \rm\bf=light \bf\bi=normal^^J
 \book ...... semi-ligher variants: \rm\bf=book \bf\bi=bold^^J
 \caps ...... caps & small caps^^J%
Special variant:^^J
 \stencil ... dashed leters (only uppercase)^^J
}}

\_moddef \resetmod {\_fsetV stencil={},caps={} \_fvars Regular Bold Italic BoldItalic }
\_moddef \light    {\_fsetV stencil={} \_fvars Light Regular LightItalic Italic }
\_moddef \book     {\_fsetV stencil={} \_fvars Book Bold BookItalic BoldItalic }
\_moddef \caps     {\_fsetV caps=+smcp;+onum; }

\_famvardef \stencil {\_fsetV stencil=Stencil \_fvars Bold . Bold . \rm}


\_initfontfamily % new font family must be initialized

\_endcode

See the file `f-heros.opm` for information about principles of such
font-macro-files.