Debian Codegraph @

texmf-dist/tex/optex/base/f-draftingmono.opm

raw
1 %% This is part of the OpTeX project, see http://petr.olsak.net/optex
2
3 \_famdecl [DraftingMono] \DraftingMono {Drafting* Mono monospaced}
4 {\caps \allsc \nocaps \thin \light \medium} {\rm \bf \it \bi} {}
5 {[DraftingMono-Regular]}
6 {\_def\_fontnamegen {[DraftingMono-\_currV]:script=latn;\_capsV\_fontfeatures}}
7
8 \_wlog{\_detokenize{%
9 Modifiers (weight)^^J
10 \thin ..... \rm, \it: Thin, \bf, \bi: Light^^J
11 \light .... \rm, \it: Light, \bf, \bi: Medium^^J
12 \medium ... \rm, \it: Medium, \bf, \bi: Bold^^J
13 Modifiers: (small caps)^^J
14 \caps ..... Caps and small caps^^J
15 \allsc .... Small caps only^^J
16 \nocaps ... No small caps^^J
17 }}
18
19 \_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic BoldItalic }
20 \_moddef \caps {\_fsetV caps=+smcp; }
21 \_moddef \allsc {\_fsetV caps=+smcp;+c2sc; }
22 \_moddef \nocaps {\_fsetV caps={} }
23
24 \_moddef \thin {\_fvars Thin Light ThinItalic LightItalic }
25 \_moddef \light {\_fvars Light Medium LightItalic MediumItalic }
26 \_moddef \medium {\_fvars Medium Bold MediumItalic BoldItalic }
27
28 \_initfontfamily
29
30 \_endcode