| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Linux Libertine] \Libertine {Free Linux Libertine fonts} |
| 4 |
{\sans \mono \caps \semibold} {\rm \bf \it \bi \initials \displ \keybr} {Libertinus} |
| 5 |
{[LinLibertine_R]} |
| 6 |
{\_def\_fontnamegen {[Lin\_subfamV _\_currV]:\_capsV\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
Modifiers:^^J |
| 10 |
\sans ...... smaller serifs^^J |
| 11 |
\mono ...... non-proportional^^J |
| 12 |
\semibold .. semi-bold variants (changed only \bf, \bi)^^J |
| 13 |
\caps ...... caps & small caps^^J% |
| 14 |
Special variants:^^J |
| 15 |
\initials .. special initials (only uppercase letters)^^J |
| 16 |
\displ ..... display variant, suitable at big sizes^^J |
| 17 |
\keybr ..... keyboard, emulates keyboard buttons^^J |
| 18 |
}} |
| 19 |
|
| 20 |
\_moddef \resetmod {\_fsetV subfam=Libertine,caps={} \_fvars R RB RI RBI } |
| 21 |
\_moddef \sans {\_fsetV subfam=Biolinum \_fvars R RB RI RBO } |
| 22 |
\_moddef \mono {\_fsetV subfam=Libertine \_fvars M MB MO MBO } |
| 23 |
\_moddef \semibold {\_fsetV subfam=Libertine \_fvars R RZ RI RZI } |
| 24 |
\_moddef \caps {\_fsetV caps=+smcp;\_ffonum; } |
| 25 |
\_moddef \nocaps {\_fsetV caps={} } |
| 26 |
|
| 27 |
\_famvardef \initials {\_fsetV subfam=Libertine \_fvars I . . . \rm} |
| 28 |
\_famvardef \displ {\_fsetV subfam=Libertine \_fvars DR . . . \rm} |
| 29 |
\_famvardef \keybr {\_fsetV subfam=Biolinum \_fvars K . . . \rm} |
| 30 |
|
| 31 |
\_initfontfamily % new font family must be initialized |
| 32 |
|
| 33 |
\_loadmath {[LibertinusMath-Regular]} |
| 34 |
|
| 35 |
\_endcode |
| 36 |
|
| 37 |
This file declares Linux Libertine font family from font files. The |
| 38 |
following fonts are provided: |
| 39 |
|
| 40 |
normal: "[LinLibertine_R]:\_fontfeatures" |
| 41 |
"[LinLibertine_RB]:\_fontfeatures" |
| 42 |
"[LinLibertine_RI]:\_fontfeatures" |
| 43 |
"[LinLibertine_RBI ]:\_fontfeatures" |
| 44 |
"[LinLibertine_RZI]:\_fontfeatures" |
| 45 |
"[LinLibertine_RZ]:\_fontfeatures" |
| 46 |
mono: "[LinLibertine_M]:\_fontfeatures" |
| 47 |
"[LinLibertine_MB]:\_fontfeatures" |
| 48 |
"[LinLibertine_MO]:\_fontfeatures" |
| 49 |
"[LinLibertine_MBO]:\_fontfeatures" |
| 50 |
sans: "[LinBiolinum_RB]:\_fontfeatures" |
| 51 |
"[LinBiolinum_RBO]:\_fontfeatures" |
| 52 |
"[LinBiolinum_R]:\_fontfeatures" |
| 53 |
"[LinBiolinum_RI]:\_fontfeatures" |
| 54 |
special: "[LinLibertine_I]:\_fontfeatures" |
| 55 |
"[LinLibertine_DR]:\_fontfeatures" |
| 56 |
"[LinBiolinum_K]:\_fontfeatures" |
| 57 |
|
| 58 |
See an alternative `f-libertine-s.opm` where the same font family is |
| 59 |
declared using font names used in operating system. |
| 60 |
|