diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-21 22:21:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-21 22:21:37 +0000 |
commit | 9db8d2c4164df3a98e7ddc4764696eb07eb33e1d (patch) | |
tree | 21888679779833982d3cdd81910aba7b93fafd46 /Master/texmf-dist/tex/luatex/optex/base/f-kpfonts.opm | |
parent | 0ba74077a97bd83d7744cb4a176c53fa7c36455c (diff) |
optex (21dec20)
git-svn-id: svn://tug.org/texlive/trunk@57197 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/base/f-kpfonts.opm')
-rw-r--r-- | Master/texmf-dist/tex/luatex/optex/base/f-kpfonts.opm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/f-kpfonts.opm b/Master/texmf-dist/tex/luatex/optex/base/f-kpfonts.opm new file mode 100644 index 00000000000..e8915ba9e4d --- /dev/null +++ b/Master/texmf-dist/tex/luatex/optex/base/f-kpfonts.opm @@ -0,0 +1,45 @@ +%% This is part of OpTeX project, see http://petr.olsak.net/optex + +\_famdecl [KP Fonts] \Kpfonts {KP fonts -- Johannes Kepler project} + {\sans \mono \light \caps \swash} {\rm \bf \it \bi} {KpMath} + {[KpRoman-Regular]} + {\_def\_fontnamegen {[Kp\_subfamV-\_currV]:\_capsV\_swaV\_fontfeatures}} + +\_wlog{\_detokenize{% +Modifiers:^^J + \sans ...... sans serif^^J + \mono ...... non-proportional^^J + \light ..... light (\rm, \it) + semibold (\bf, \bi) variants^^J + \caps ...... caps & small caps^^J + \swash ..... alternative Q letter^^J +}} + +\_def\_RBIfvars{\_fvars Regular Bold Italic BoldItalic } +\_moddef \resetmod {\_fsetV subfam=Roman,caps={},swa={} \_RBIfvars } +\_moddef \sans {\_fsetV subfam=Sans \_RBIfvars } +\_moddef \mono {\_fsetV subfam=Mono \_RBIfvars } +\_moddef \light {\_fsetV subfam=Roman \_fvars Light Semibold LightItalic SemiboldItalic } +\_moddef \caps {\_fsetV caps=+smcp;+onum; } +\_moddef \nocaps {\_fsetV caps={} } +\_moddef \swash {\_fsetV swa=+swsh; } +\_moddef \noswash {\_fsetV swa={} } + +\_initfontfamily % new font family must be initialized + +\_loadmath {[KpMath-Regular]} +\_loadboldmath {[KpMath-Bold]} \to {[KpMath-Regular]} + +\_endcode + +The KP fonts family includes more variants of Math fonts. +Only Regular / Bold pair is loaded as default. + +There are alternatives: + +\doloadmath \loadmath {KpMath-Light} +\loadboldmath {[KpMath-Semibold]} \to {[KpMath-Light]} + +or + +\doloadmath \loadmath {KpMath-Sans} + |