Debian Codegraph @

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

raw
1 %% This is part of the OpTeX project, see http://petr.olsak.net/optex
2
3 \_famdecl [Gentium] \Gentium {Serif free fonts, support Greek, Cyrillic, IPA}
4 {\caps \medium \bolder \book} {\rm \bf \it \bi} {Termes}
5 {[Gentium-Regular]}
6 {\_def\_fontnamegen {[Gentium\_bnV-\_currV]:\_capsV\_fontfeatures}}
7
8 \_wlog{\_detokenize{%
9 Modifiers:^^J
10 \caps ...... caps & small caps^^J
11 \medium .... \rm\it Medium, \bf\bi Bold^^J
12 \bolder .... \rm\it SemiBold, \bf\bi ExtraBold.^^J
13 \book ...... Book versions (slightly bolder)
14 }}
15
16 \_moddef \resetmod {\_fsetV caps={},bn={} \_fvars Regular Bold Italic BoldItalic }
17 \_moddef \caps {\_fsetV caps=+smcp;\_ffonum; }
18 \_moddef \medium {\_fvars Medium Bold MediumItalic BoldItalic }
19 \_moddef \bolder {\_fvars SemiBold ExtraBold SemiBoldItalic ExtraBoldItalic }
20 \_moddef \book {\_fsetV bn=Book }
21
22 \_initfontfamily % new font family must be initialized
23
24 \_loadmath {[texgyretermes-math]}
25
26 \_endcode
27
28 See the file `f-heros.opm` for information about principles of such
29 font-macro-files.