1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
|
%% $Id: libertinus-otf.sty 722 2023-05-17 16:52:17Z herbert $
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
%% Either version 1.3 or, at your option, any later version.
%%
%
% Copyright 2023 Herbert Voss hvoss@tug.org
%
\ProvidesPackage{libertinus-otf}[%
2023/05/16 v. 0.31 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
%\RequirePackage[no-math]{fontspec}
\ifluatex
\directlua {
fonts.handlers.otf.addfeature {
name = "hv-kern",
type = "kern",
data = {
["T"] = { ["i"] = -80 },
},
}
}
\fi
\newif\iflibertinus@mono \libertinus@monotrue
\newif\iflibertinus@nomath \libertinus@nomathfalse
\newif\iflibertinus@lining \libertinus@liningtrue
\newif\iflibertinus@tabular \libertinus@tabulartrue
\newif\iflibertinus@semibold \libertinus@semiboldfalse
\newif\iflibertinus@greek \libertinus@greekfalse
\newif\iflibertinus@greekitalic \libertinus@greekitalicfalse
\DeclareOptionX{lining}[true]{\@nameuse{libertinus@lining#1}}
\DeclareOptionX{nf}[true]{\@nameuse{libertinus@lining#1}}
\DeclareOptionX{lf}[true]{\@nameuse{libertinus@lining#1}}
\DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}\libertinus@liningfalse\else\libertinus@liningtrue\fi}
\DeclareOptionX{osf}[true]{\@nameuse{if#1}\libertinus@liningfalse\else\libertinus@liningtrue\fi}
\providecommand*\libertinusUNI@feature{}
\DeclareOptionX{uni}[]{\renewcommand*\libertinusUNI@feature{#1}}
\providecommand*\libertinusMM@feature{}
\DeclareOptionX{mathfeature}[]{\renewcommand*\libertinusMM@feature{#1}}
\DeclareOptionX{greek}[true]{\@nameuse{libertinus@greek#1}}
\DeclareOptionX{greekitalic}[true]{\@nameuse{libertinus@greekitalic#1}}
\DeclareOptionX{nomath}[true]{\@nameuse{libertinus@nomath#1}}
\DeclareOptionX{mono}[true]{\@nameuse{libertinus@mono#1}}
\DeclareOptionX{tabular}[true]{\@nameuse{libertinus@tabular#1}}
\DeclareOptionX{t}[true]{\@nameuse{libertinus@tabular#1}}
\DeclareOptionX{proportional}[true]{\@nameuse{if#1}\libertinus@tabularfalse\else\libertinus@tabulartrue\fi}
\DeclareOptionX{p}[true]{\@nameuse{if#1}\libertinus@tabularfalse\else\libertinus@tabulartrue\fi}
\DeclareOptionX{semibold}[true]{\@nameuse{libertinus@semibold#1}}
\DeclareOptionX{sb}[true]{\@nameuse{libertinus@semibold#1}}
\DeclareOptionX{bold}[true]{\@nameuse{if#1}\libertinus@semiboldfalse\else\libertinus@semiboldtrue\fi}
\newcommand*\libertinusRM@scale{1}
\newcommand*\libertinusDisplayT@scale{1}
\newcommand*\libertinusSF@scale{1}
\newcommand*\libertinusTT@scale{MatchLowercase}
\newcommand*\libertinusTT@stretch{0.9}
\newcommand*\libertinusInitialsT@scale{1}
\DeclareOptionX{ScaleRM}{\renewcommand*{\libertinusRM@scale}{#1}}
\DeclareOptionX{ScaleSF}{\renewcommand*{\libertinusSF@scale}{#1}}
\DeclareOptionX{ScaleTT}{\renewcommand*{\libertinusTT@scale}{#1}}
\DeclareOptionX{StretchTT}{\renewcommand*{\libertinusTT@stretch}{#1}}
\def\libertinus@defaultfeatures{RawFeature={+hv-kern}}
\DeclareOptionX{defaultfeatures}{\edef\libertinus@defaultfeatures{\libertinus@defaultfeatures,#1}}
\DeclareOptionX*{\PassOptionsToPackage{\CurrentOption}{fontspec}}
\ProcessOptionsX\relax
\iflibertinus@greek
\RequirePackage{newunicodechar}
\iftrue
\newunicodechar{α}{\alpha}
\newunicodechar{β}{\beta}
\newunicodechar{γ}{\gamma}
\newunicodechar{δ}{\delta}
\newunicodechar{ε}{\varepsilon}
\newunicodechar{ζ}{\zeta}
\newunicodechar{η}{\eta}
\newunicodechar{θ}{\theta}
\newunicodechar{ι}{\iota}
\newunicodechar{κ}{\kappa}
\newunicodechar{λ}{\lambda}
\newunicodechar{μ}{\mu}
\newunicodechar{ν}{\nu}
\newunicodechar{ξ}{\xi}
\newunicodechar{ο}{\omicron}
\newunicodechar{π}{\pi}
\newunicodechar{ρ}{\rho}
\newunicodechar{ς}{\varsigma}
\newunicodechar{σ}{\sigma}
\newunicodechar{τ}{\tau}
\newunicodechar{υ}{\upsilon}
\newunicodechar{φ}{\varphi}
\newunicodechar{χ}{\chi}
\newunicodechar{ψ}{\psi}
\newunicodechar{ω}{\omega}
\else
\newunicodechar{α}{\mupalpha}
\newunicodechar{β}{\mupbeta}
\newunicodechar{γ}{\mupgamma}
\newunicodechar{δ}{\mupdelta}
\newunicodechar{ε}{\mupvarepsilon}
\newunicodechar{ζ}{\mupzeta}
\newunicodechar{η}{\mupeta}
\newunicodechar{θ}{\muptheta}
\newunicodechar{ι}{\mupiota}
\newunicodechar{κ}{\mupkappa}
\newunicodechar{λ}{\muplambda}
\newunicodechar{μ}{\mupmu}
\newunicodechar{ν}{\mupnu}
\newunicodechar{ξ}{\mupxi}
\newunicodechar{ο}{\mupomicron}
\newunicodechar{π}{\muppi}
\newunicodechar{ρ}{\muprho}
\newunicodechar{ς}{\mupvarsigma}
\newunicodechar{σ}{\mupsigma}
\newunicodechar{τ}{\muptau}
\newunicodechar{υ}{\mupupsilon}
\newunicodechar{φ}{\mupvarphi}
\newunicodechar{χ}{\mupchi}
\newunicodechar{ψ}{\muppsi}
\newunicodechar{ω}{\mupomega}
\fi
\iflibertinus@greekitalic
\RequirePackage{newunicodechar}%
\newunicodechar{𝛼}{\mitalpha}
\newunicodechar{𝛽}{\mitbeta}
\newunicodechar{𝛾}{\mitgamma}
\newunicodechar{𝛿}{\mitdelta}
\newunicodechar{𝜀}{\mitvarepsilon}
\newunicodechar{𝜁}{\mitzeta}
\newunicodechar{𝜂}{\miteta}
\newunicodechar{𝜃}{\mittheta}
\newunicodechar{𝜄}{\mitiota}
\newunicodechar{𝜅}{\mitkappa}
\newunicodechar{𝜆}{\mitlambda}
\newunicodechar{𝜇}{\mitmu}
\newunicodechar{𝜈}{\mitnu}
\newunicodechar{𝜉}{\mitxi}
\newunicodechar{𝜊}{\mitomicron}
\newunicodechar{𝜋}{\mitpi}
\newunicodechar{𝜌}{\mitrho}
\newunicodechar{𝜍}{\mitvarsigma}
\newunicodechar{𝜎}{\mitsigma}
\newunicodechar{𝜏}{\mittau}
\newunicodechar{𝜐}{\mitupsilon}
\newunicodechar{𝜑}{\mitvarphi}
\newunicodechar{𝜒}{\mitchi}
\newunicodechar{𝜓}{\mitpsi}
\newunicodechar{𝜔}{\mitomega}
\fi\fi
\iflibertinus@nomath
\RequirePackage{fontspec}
\else
\PassOptionsToPackage{\libertinusUNI@feature}{unicode-math}
\RequirePackage{unicode-math}
\fi
\iflibertinus@lining
\def\libertinus@figurestyle{+lnum}
\else
\def\libertinus@figurestyle{+onum}
\fi
\iflibertinus@tabular
\def\libertinus@figurealign{+tnum}
\else
\def\libertinus@figurealign{+pnum}
\fi
\iflibertinus@semibold
\def\libertinus@boldstyle{Semibold}
\else
\def\libertinus@boldstyle{Bold}
\fi
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures[\rmfamily,\sffamily]{
Ligatures = TeX ,
SmallCapsFeatures={Letters=SmallCaps},% \ifluatex,Renderer=Basic\fi},
\libertinus@defaultfeatures
}
\setmainfont{LibertinusSerif}[
RawFeature = {\libertinus@figurealign;\libertinus@figurestyle},
Scale = \libertinusRM@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-\libertinus@boldstyle,
BoldFeatures = { SmallCapsFont = *-\libertinus@boldstyle },
BoldItalicFont = *-\libertinus@boldstyle Italic,
BoldItalicFeatures = { SmallCapsFont = *-\libertinus@boldstyle Italic },
BoldSlantedFont= *-\libertinus@boldstyle,
BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-\libertinus@boldstyle },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
\newfontfamily\LibertinusSerifSB{LibertinusSerif}[
RawFeature = {\libertinus@figurealign;\libertinus@figurestyle},
Scale = \libertinusRM@scale,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Semibold,
BoldFeatures = { SmallCapsFont = *-Semibold },
BoldItalicFont = *-SemiboldItalic,
BoldItalicFeatures = { SmallCapsFont = *-SemiboldItalic },
BoldSlantedFont= *-Semibold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Semibold },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
\newfontfamily\LibertinusSerifOsF{LibertinusSerif}[
RawFeature = {+onum},
Scale = \libertinusRM@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-\libertinus@boldstyle,
BoldFeatures = { SmallCapsFont = *-\libertinus@boldstyle },
BoldItalicFont = *-\libertinus@boldstyle Italic,
BoldItalicFeatures = { SmallCapsFont = *-\libertinus@boldstyle Italic },
BoldSlantedFont= *-\libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-\libertinus@boldstyle },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
\newfontfamily\LibertinusSerifTLF{LibertinusSerif}[
RawFeature = {+tnum;-onum},
Scale = \libertinusRM@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-\libertinus@boldstyle,
BoldFeatures = { SmallCapsFont = *-\libertinus@boldstyle },
BoldItalicFont = *-\libertinus@boldstyle Italic,
BoldItalicFeatures = { SmallCapsFont = *-\libertinus@boldstyle Italic },
BoldSlantedFont= *-\libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-\libertinus@boldstyle },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
\setsansfont{LibertinusSans}[
Extension = .otf,
RawFeature = {\libertinus@figurealign;\libertinus@figurestyle},
Scale = \libertinusSF@scale,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Bold,
BoldFeatures = { SmallCapsFont = *-Bold },
BoldItalicFont = *-Italic,
BoldItalicFeatures = {RawFeature={embolden=3},SmallCapsFont = *-Italic },
BoldSlantedFont= *-Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Bold },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
]
\newfontfamily\LibertinusSansOsF{LibertinusSans}[
RawFeature = {+onum;+pnum},
Scale = \libertinusSF@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Bold,
BoldFeatures = { SmallCapsFont = *-Bold },
BoldItalicFont = *-Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
BoldSlantedFont= *-Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Bold },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
\newfontfamily\LibertinusSansTLF{LibertinusSans}[
RawFeature = {+lnum;-onum;+tnum} ,
Scale = \libertinusSF@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
ItalicFeatures = { SmallCapsFont = *-Italic },
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Bold,
BoldFeatures = { SmallCapsFont = *-Bold },
BoldItalicFont = *-Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
BoldSlantedFont= *-Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Bold },
SmallCapsFont = *-Regular,
% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
\iflibertinus@mono
\setmonofont{LibertinusMono}[
RawFeature = {\libertinus@figurealign; \libertinus@figurestyle},
Scale = \libertinusTT@scale,
FakeStretch = \libertinusTT@stretch,
UprightFont = *-Regular,
ItalicFont = *-Regular,
ItalicFeatures = {FakeSlant=0.2},
SlantedFont = *-Regular,
SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Regular,
BoldFeatures = {RawFeature={embolden=3}},
BoldItalicFont = *-Regular,
BoldItalicFeatures={FakeSlant=0.2,RawFeature={embolden=3}},
Extension = .otf,
]
\fi
\iflibertinus@nomath\else
\typeout{*************************************^^J%
* Using libertinus math *^^J%
*************************************}%
\expandafter\setmathfont\expandafter[\libertinusMM@feature]{LibertinusMath-Regular.otf}
\expandafter\setmathfont\expandafter[\libertinusMM@feature,version=bold,
RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
\fi
\ifluatex
\newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf}[RawFeature=+liga]
\newfontface\BiolinumKeyboard{LinBiolinum_K.otf}[RawFeature=+liga]
% \hyphenchar\LibertinusKeyboard=-1
\else
\font\LibertinusKeyboard="[LibertinusKeyboard-Regular.otf]"
\font\BiolinumKeyboard="[LinBiolinum_K.otf]"
\fi
\newfontfamily\LibertinusDisplay{LibertinusSerifDisplay-Regular.otf}
\newfontfamily\Libertinusinitials{LibertinusSerifInitials-Regular.otf}
\newfontfamily\LibertinusInitials{LibertinusSerifInitials-Regular.otf}
\def\sufigures{\addfontfeatures{VerticalPosition=Superior}}
\DeclareTextFontCommand{\textsup}{\sufigures}
\DeclareTextFontCommand{\textsbf}{\LibertinusSerifSB\bfseries}% semibold
\DeclareTextFontCommand{\textinit}{\LibertinusInitials}% Initials
\def\biolinumKeyGlyph#1{{\LibertinusKeyboard\symbol{#1}}}
\def\BiolinumKeyGlyph#1{{\LibertinusKeyboard#1}}
\DeclareRobustCommand*\LKey[1]{\BiolinumKeyGlyph{#1}}
\DeclareRobustCommand*\LKeyStrg{\BiolinumKeyGlyph{Strg}}
\DeclareRobustCommand*\LKeyAlt{\BiolinumKeyGlyph{Alt}}
\DeclareRobustCommand*\LKeyAltApple{\biolinumKeyGlyph{"2325}}
\DeclareRobustCommand*\LKeyAltGr{\BiolinumKeyGlyph{AltGr}}
\DeclareRobustCommand*\LKeyShift{\BiolinumKeyGlyph{Shift}}
\DeclareRobustCommand*\LKeyTab{\BiolinumKeyGlyph{Tab}}
\DeclareRobustCommand*\LKeyEnter{\BiolinumKeyGlyph{Enter}}
\DeclareRobustCommand*\LKeyCapslock{\BiolinumKeyGlyph{Capslock}}
\DeclareRobustCommand*\LKeyPos{\BiolinumKeyGlyph{Pos1}}
\DeclareRobustCommand*\LKeyEntf{\BiolinumKeyGlyph{Entf}}
\DeclareRobustCommand*\LKeyEinf{\BiolinumKeyGlyph{Einf}}
\DeclareRobustCommand*\LKeyLeer{\BiolinumKeyGlyph{Leer}}
\let\LKeySpace\LKeyLeer
\DeclareRobustCommand*\LKeyEsc{\BiolinumKeyGlyph{Esc}}
\DeclareRobustCommand*\LKeyEnde{\BiolinumKeyGlyph{Ende}}
\DeclareRobustCommand*\LKeyTux{\biolinumKeyGlyph{"E00E}}
\DeclareRobustCommand*\LKeyWin{\BiolinumKeyGlyph{Windows}}
\DeclareRobustCommand*\LKeyMenu{\biolinumKeyGlyph{"E104}}
\DeclareRobustCommand*\LKeyCtrl{\BiolinumKeyGlyph{Ctrl}}
\DeclareRobustCommand*\LKeyCommand{\biolinumKeyGlyph{"2318}}
\DeclareRobustCommand*\LKeyOptionKey{\BiolinumKeyGlyph{Fn}}
\DeclareRobustCommand*\LKeyBack{\BiolinumKeyGlyph{Back}}
\DeclareRobustCommand*\LKeyUp{\biolinumKeyGlyph{"2191}}
\DeclareRobustCommand*\LKeyDown{\biolinumKeyGlyph{"2193}}
\DeclareRobustCommand*\LKeyLeft{\biolinumKeyGlyph{"2190}}
\DeclareRobustCommand*\LKeyRight{\biolinumKeyGlyph{"2192}}
\DeclareRobustCommand*\LKeyBildUp{\BiolinumKeyGlyph{Buildup}}
\DeclareRobustCommand*\LKeyBildDown{\BiolinumKeyGlyph{Builddown}}
\DeclareRobustCommand*\LKeyAt{\biolinumKeyGlyph{"0040}}
\DeclareRobustCommand*\LKeyFn{\BiolinumKeyGlyph{Fn}}
\DeclareRobustCommand*\LKeyHome{\BiolinumKeyGlyph{Home}}
\DeclareRobustCommand*\LKeyDel{\BiolinumKeyGlyph{Del}}
\DeclareRobustCommand*\LKeyIns{\BiolinumKeyGlyph{Ins}}
\DeclareRobustCommand*\LKeyEnd{\BiolinumKeyGlyph{End}}
\DeclareRobustCommand*\LKeyGNU{\BiolinumKeyGlyph{GNU}}
\DeclareRobustCommand*\LKeyPageUp{\BiolinumKeyGlyph{Pageup}}
\DeclareRobustCommand*\LKeyPageDown{\BiolinumKeyGlyph{Pagedown}}
\DeclareRobustCommand*\LKeyWindows{\BiolinumKeyGlyph{Windows}}
\@namedef{libertine@key@F@1}{\BiolinumKeyGlyph{F1}}
\@namedef{libertine@key@F@2}{\BiolinumKeyGlyph{F2}}
\@namedef{libertine@key@F@3}{\BiolinumKeyGlyph{F3}}
\@namedef{libertine@key@F@4}{\BiolinumKeyGlyph{F4}}
\@namedef{libertine@key@F@5}{\BiolinumKeyGlyph{F5}}
\@namedef{libertine@key@F@6}{\BiolinumKeyGlyph{F6}}
\@namedef{libertine@key@F@7}{\BiolinumKeyGlyph{F7}}
\@namedef{libertine@key@F@8}{\BiolinumKeyGlyph{F8}}
\@namedef{libertine@key@F@9}{\BiolinumKeyGlyph{F9}}
\@namedef{libertine@key@F@10}{\BiolinumKeyGlyph{F10}}
\@namedef{libertine@key@F@11}{\BiolinumKeyGlyph{F11}}
\@namedef{libertine@key@F@12}{\BiolinumKeyGlyph{F12}}
\@namedef{libertine@key@F@13}{\BiolinumKeyGlyph{F13}}
\@namedef{libertine@key@F@14}{\BiolinumKeyGlyph{F14}}
\@namedef{libertine@key@F@15}{\BiolinumKeyGlyph{F15}}
\@namedef{libertine@key@F@16}{\BiolinumKeyGlyph{F16}}
\DeclareRobustCommand*\LKeyF[1]{\@nameuse{libertine@key@F@#1}}
%
\DeclareRobustCommand*\LKeyAltF[1]{\LKeyAlt+\@nameuse{libertine@key@F@#1}}
\DeclareRobustCommand*\LKeyStrgAltF[1]{\LKeyStrg+\LKeyAlt+\@nameuse{libertine@key@F@#1}}
\DeclareRobustCommand*\LKeyStrgX[1]{\LKeyStrg+\LKey{#1}}
\DeclareRobustCommand*\LKeyShiftX[1]{\LKeyShift+\LKey{#1}}
\DeclareRobustCommand*\LKeyAltX[1]{\LKeyAlt+\LKey{#1}}
\DeclareRobustCommand*\LKeyAltAppleX[1]{\LKeyAltApple+\LKey{#1}}
\DeclareRobustCommand*\LKeyAltGrX[1]{\LKeyAltGr+\LKey{#1}}
\DeclareRobustCommand*\LKeyShiftStrgX[1]{\LKeyShift+\LKeyStrg+\LKey{#1}}
\DeclareRobustCommand*\LKeyShiftAltX[1]{\LKeyShift+\LKeyAlt+\LKey{#1}}
\DeclareRobustCommand*\LKeyShiftAltGrX[1]{\LKeyShift+\LKeyAltGr+\LKey{#1}}
\DeclareRobustCommand*\LKeyStrgAltX[1]{\LKeyStrg+\LKeyAlt+\LKey{#1}}
\DeclareRobustCommand*\LKeyStrgAltEntf{\LKeyStrg+\LKeyAlt+\LKeyEntf}
\let\LKeyReset\LKeyStrgAltEntf
%
\@namedef{libertine@key@Pad@0}{\BiolinumKeyGlyph{Pad0}}
\@namedef{libertine@key@Pad@1}{\BiolinumKeyGlyph{Pad1}}
\@namedef{libertine@key@Pad@2}{\BiolinumKeyGlyph{Pad2}}
\@namedef{libertine@key@Pad@3}{\BiolinumKeyGlyph{Pad3}}
\@namedef{libertine@key@Pad@4}{\BiolinumKeyGlyph{Pad4}}
\@namedef{libertine@key@Pad@5}{\BiolinumKeyGlyph{Pad5}}
\@namedef{libertine@key@Pad@6}{\BiolinumKeyGlyph{Pad6}}
\@namedef{libertine@key@Pad@7}{\BiolinumKeyGlyph{Pad7}}
\@namedef{libertine@key@Pad@8}{\BiolinumKeyGlyph{Pad8}}
\@namedef{libertine@key@Pad@9}{\BiolinumKeyGlyph{Pad9}}
%\@namedef{libertine@key@Pad@10}{\BiolinumKeyGlyph{"E1AA}}
%\@namedef{libertine@key@Pad@11}{\BiolinumKeyGlyph{"E1AB}}
%\@namedef{libertine@key@Pad@12}{\BiolinumKeyGlyph{"E1AC}}
%\@namedef{libertine@key@Pad@13}{\BiolinumKeyGlyph{"E1AD}}
%\@namedef{libertine@key@Pad@14}{\BiolinumKeyGlyph{"E1AE}}
\DeclareRobustCommand*\LKeyPad[1]{\@nameuse{libertine@key@Pad@#1}}
%
% Maus
%
\iffalse
\DeclareRobustCommand*\LMouseEmpty{\biolinumKeyGlyph{"E130}}
\DeclareRobustCommand*\LMouseN{\biolinumKeyGlyph{"E131}}
\DeclareRobustCommand*\LMouseL{\biolinumKeyGlyph{"E132}}
\DeclareRobustCommand*\LMouseM{\biolinumKeyGlyph{"E133}}
\DeclareRobustCommand*\LMouseR{\biolinumKeyGlyph{"E134}}
\DeclareRobustCommand*\LMouseLR{\biolinumKeyGlyph{"E135}}
\DeclareRobustCommand*\LMouseIIEmpty{\biolinumKeyGlyph{"E138}}
\DeclareRobustCommand*\LMouseIIN{\biolinumKeyGlyph{"E139}}
\DeclareRobustCommand*\LMouseIIL{\biolinumKeyGlyph{"E13A}}
\DeclareRobustCommand*\LMouseIIR{\biolinumKeyGlyph{"E13C}}
\DeclareRobustCommand*\LMouseIILR{\biolinumKeyGlyph{"E13D}}
\fi
%
\def\WikipediaW{{\fontspec{LibertinusSerif-Regular.otf}[RawFeature=+ss05]W}}
\def\Wikipedia{{\fontspec{LibertinusSerif-Regular.otf}[RawFeature={+ss05,+smcp}]W\kern-1pt ikipediA}}
%\def\WikipediaWSF{{\sffamily\addfontfeature{RawFeature=+ss05}W}}
%\def\WikipediaSF{{\addfontfeature{RawFeature=+ss05}\sffamily WikipediA}}
\def\Lsup#1{{\addfontfeature{RawFeature=+sups}#1}}
\def\Lsinf#1{{\addfontfeature{RawFeature=+sinf}#1}}
\def\Land{{\addfontfeature{RawFeature=+ss06}\&}}
\def\Lcase#1{{\addfontfeature{RawFeature=case}#1}}
\def\LCASE{\@ifnextchar-\L@CASE\L@@CASE}
\def\L@CASE-{\addfontfeature{RawFeature=-case}}
\def\L@@CASE#1{\addfontfeature{RawFeature=+case}\ifx#1+\else#1\fi}
\def\Lfrac#1{{\addfontfeature{RawFeature=+frac}#1}}
\def\LFRAC{\@ifnextchar-\L@FRAC\L@@FRAC}
\def\L@FRAC-{\addfontfeature{RawFeature=-frac}}
\def\L@@FRAC#1{\addfontfeature{RawFeature=+frac}\ifx#1+\else#1\fi}
\def\Lcpsp#1{{\addfontfeature{RawFeature=+cpsp}#1}}
\def\LCPSP{\@ifnextchar-\L@CPSP\L@@CPSP}
\def\L@CPSP-{\addfontfeature{RawFeature=-cpsp}}
\def\L@@CPSP#1{\addfontfeature{RawFeature=+cpsp}\ifx#1+\else#1\fi}
\def\Lss#1#2#3{{\addfontfeature{RawFeature=+ss#1#2}#3}}
\def\LSS#1#2{\addfontfeature{RawFeature=+ss#1#2}}
\def\Lctosc#1{{\addfontfeature{RawFeature=+c2sc}#1}}
\def\LCtoSC{\@ifnextchar-\L@CtoSC\L@@CtoSC}
\def\L@CtoSC-{\addfontfeature{RawFeature=-c2sc}}
\def\L@@CtoSC#1{\addfontfeature{RawFeature=+c2sc}\ifx#1+\else#1\fi}
\def\Lctosmcp#1{{\addfontfeature{RawFeature={+c2sc,+smcp}}#1}}
\def\LCtoSMCP{\@ifnextchar-\L@CtoSMCP\L@@CtoSMCP}
\def\L@CtoSMCP-{\addfontfeature{RawFeature={-c2sc,-smcp}}}
\def\L@@CtoSMCP#1{\addfontfeature{RawFeature={+c2sc,+smcp}}\ifx#1+\else#1\fi}
\def\Lsalt#1{{\addfontfeature{RawFeature=+salt}#1}}
\def\LSALT{\@ifnextchar-\L@SALT\L@@SALT}
\def\L@SALT-{\addfontfeature{RawFeature=-salt}}
\def\L@@SALT#1{\addfontfeature{RawFeature=+salt}\ifx#1+\else#1\fi}
\def\Lliga#1{{\addfontfeature{RawFeature=+liga}#1}}
\def\LLIGA{\@ifnextchar-\L@LIGA\L@@LIGA}
\def\L@LIGA-{\addfontfeature{RawFeature=-liga}}
\def\L@@LIGA#1{\addfontfeature{RawFeature=+liga}\ifx#1+\else#1\fi}
\def\Lhlig#1{{\addfontfeature{RawFeature=+hlig}#1}}
\def\LHLIG{\@ifnextchar-\L@HLIG\L@@HLIG}
\def\L@HLIG-{\addfontfeature{RawFeature=-hlig}}
\def\L@@HLIG#1{\addfontfeature{RawFeature=+hlig}\ifx#1+\else#1\fi}
\def\Ldlig#1{{\addfontfeature{RawFeature=+dlig}#1}}
\def\LDLIG{\@ifnextchar-\L@DLIG\L@@DLIG}
\def\L@DLIG-{\addfontfeature{RawFeature=-dlig}}
\def\L@@DLIG#1{\addfontfeature{RawFeature=+dlig}\ifx#1+\else#1\fi}
\endinput
|