summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/base/f-libertinus.opm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-21 22:21:37 +0000
committerKarl Berry <karl@freefriends.org>2020-12-21 22:21:37 +0000
commit9db8d2c4164df3a98e7ddc4764696eb07eb33e1d (patch)
tree21888679779833982d3cdd81910aba7b93fafd46 /Master/texmf-dist/tex/luatex/optex/base/f-libertinus.opm
parent0ba74077a97bd83d7744cb4a176c53fa7c36455c (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-libertinus.opm')
-rw-r--r--Master/texmf-dist/tex/luatex/optex/base/f-libertinus.opm36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/f-libertinus.opm b/Master/texmf-dist/tex/luatex/optex/base/f-libertinus.opm
new file mode 100644
index 00000000000..fef53a6bebd
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/optex/base/f-libertinus.opm
@@ -0,0 +1,36 @@
+%% This is part of OpTeX project, see http://petr.olsak.net/optex
+
+\_famdecl [Libertinus] \Libertinus {Free fonts derived from Linux Libertine}
+ {\semibold \sans \caps} {\rm \bf \it \bi \mono \initials \displ \keybr} {Libertinus}
+ {[LibertinusSerif-Regular]}
+ {\_def\_fontnamegen {[Libertinus\_subfamV-\_currV]:\_capsV\_fontfeatures}}
+
+\_wlog{\_detokenize{%
+Modifiers:^^J
+ \semibold .. semi-bold variants, changed only \bf, \bi^^J
+ \sans ...... smaller serifs, only \rm, \bf \it^^J
+ \caps ...... caps & small caps^^J%
+Special variants:^^J
+ \mono ..... non-proportional
+ \initials .. special initials (only uppercase letters)^^J
+ \displ ..... display variant, suitable at big sizes^^J
+ \keybr ..... keyboard, emulates keyboard buttons^^J
+}}
+
+\_moddef \resetmod {\_fsetV subfam=Serif,caps={} \_fvars Regular Bold Italic BoldItalic }
+\_moddef \semibold {\_fsetV subfam=Serif \_fvars Regular Semibold Italic SemiboldItalic }
+\_moddef \sans {\_fsetV subfam=Sans \_fvars Regular Bold Italic . }
+\_moddef \caps {\_fsetV caps=+smcp;+onum; }
+\_moddef \nocaps {\_fsetV caps={} }
+
+\_famvardef \mono {\_fsetV subfam=Mono \_fvars Regular . . . \_rm}
+\_famvardef \initials {\_fsetV subfam=SerifInitials \_fvars Regular . . . \_rm}
+\_famvardef \displ {\_fsetV subfam=SerifDisplay \_fvars Regular . . . \_rm}
+\_famvardef \keybr {\_fsetV subfam=Keyboard \_fvars Regular . . . \_rm}
+
+\_initfontfamily % new font family must be initialized
+
+\_loadmath {[LibertinusMath-Regular]}
+
+\_endcode
+