diff options
author | Norbert Preining <norbert@preining.info> | 2020-04-26 03:02:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-04-26 03:02:41 +0000 |
commit | 7d9d2e08fcab92adcc759e3f1e4bb0a15a63f220 (patch) | |
tree | 8b20347f7722711d9a3577782906d96684424c9a /fonts/libertinus-otf/latex | |
parent | 7a7be7eaa67109eac37916ea48662c24ddc570d0 (diff) |
CTAN sync 202004260302
Diffstat (limited to 'fonts/libertinus-otf/latex')
-rw-r--r-- | fonts/libertinus-otf/latex/libertinus-otf.sty | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty index f0ffebc960..85e4d91649 100644 --- a/fonts/libertinus-otf/latex/libertinus-otf.sty +++ b/fonts/libertinus-otf/latex/libertinus-otf.sty @@ -1,4 +1,4 @@ -%% $Id: libertinus-otf.sty 1146 2020-02-22 15:47:27Z herbert $ +%% $Id: libertinus-otf.sty 1166 2020-04-25 17:58:36Z herbert $ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. @@ -8,7 +8,7 @@ % Copyright 2020 Herbert Voss hvoss@tug.org % \ProvidesPackage{libertinus-otf}[% - 2020/02/22 v. 0.24 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] + 2020/04/25 v. 0.25 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} %\RequirePackage[no-math]{fontspec} @@ -415,9 +415,6 @@ \fi %------------------------ symbolic names stop ------------------------- -\def\sufigures{\addfontfeatures{VerticalPosition=Superior}} -\DeclareTextFontCommand{\textsu}{\sufigures} - \iflibertinus@nomath\else \typeout{*************************************^^J% @@ -428,7 +425,7 @@ \fi \ifluatex - \newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf} + \newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf}[RawFeature=+liga] % \hyphenchar\LibertinusKeyboard=-1 \else \font\LibertinusKeyboard="[LibertinusKeyboard-Regular.otf]" @@ -437,12 +434,18 @@ \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}} @@ -501,6 +504,7 @@ \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}} @@ -602,5 +606,5 @@ \def\L@DLIG-{\addfontfeature{RawFeature=-dlig}} \def\L@@DLIG#1{\addfontfeature{RawFeature=+dlig}\ifx#1+\else#1\fi} - +\endinput |