diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-30 20:57:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-30 20:57:27 +0000 |
commit | 184789df2ea41c7eef89f9cf529b1dcea369b237 (patch) | |
tree | e019c82fb627959c8a350a559098baa25f591027 /Master/texmf-dist/tex | |
parent | e4644780747bda4e00df23394dd3aeaa807b5d94 (diff) |
libertinus-otf (30may19)
git-svn-id: svn://tug.org/texlive/trunk@51272 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty | 144 |
1 files changed, 76 insertions, 68 deletions
diff --git a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty index 73a95fd582e..d30e68aeef3 100644 --- a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty +++ b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty @@ -1,4 +1,4 @@ -%% $Id: libertinus-otf.sty 1036 2019-04-04 20:29:44Z herbert $ +%% $Id: libertinus-otf.sty 1069 2019-05-30 12:44:58Z 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 2018 Herbert Voss hvoss@tug.org and Bob Tennent rdt@cs.queensu.ca % \ProvidesPackage{libertinus-otf}[% - 2019/04/04 v. 0.14 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] + 2019/05/30 v. 0.15 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} \RequirePackage{unicode-math} @@ -131,7 +131,7 @@ UprightFont = *-Regular, ItalicFont = *-Italic, BoldFont = *-Bold, - BoldItalicFont = *-BoldOblique, + BoldItalicFont = *-BoldItalic, SmallCapsFeatures={Letters=SmallCaps}, Extension = .otf ] @@ -142,7 +142,7 @@ UprightFont = *-Regular, ItalicFont = *-Italic, BoldFont = *-Bold, - BoldItalicFont = *-BoldOblique, + BoldItalicFont = *-BoldItalic, SmallCapsFeatures={Letters=SmallCaps}, Extension = .otf ] @@ -153,7 +153,7 @@ UprightFont = *-Regular, ItalicFont = *-Italic, BoldFont = *-Bold, - BoldItalicFont = *-BoldOblique, + BoldItalicFont = *-BoldItalic, SmallCapsFeatures={Letters=SmallCaps}, Extension = .otf ] @@ -289,7 +289,12 @@ % \setmathfont[version=bold]{libertinusmath-bold.otf} \fi -\newfontfamily\LibertinusKeyboard{LibertinusKeyboard-Regular.otf} +\ifluatex + \font\LibertinusKeyboard{file:LibertinusKeyboard-Regular.otf} + \hyphenchar\LibertinusKeyboard=-1 +\else + \font\LibertinusKeyboard"[file:LibertinusKeyboard-Regular.otf]" +\fi \newfontfamily\LibertinusDisplay{LibertinusSerifDisplay-Regular.otf} \newfontfamily\Libertinusinitials{LibertinusSerifInitials-Regular.otf} \newfontfamily\LibertinusInitials{LibertinusSerifInitials-Regular.otf} @@ -298,58 +303,59 @@ \def\BiolinumKeyGlyph#1{{\LibertinusKeyboard#1}} \DeclareRobustCommand*\LKey[1]{\BiolinumKeyGlyph{#1}} -\DeclareRobustCommand*\LKeyStrg{\biolinumKeyGlyph{"E170}} -\DeclareRobustCommand*\LKeyAlt{\biolinumKeyGlyph{"E171}} -\DeclareRobustCommand*\LKeyAltGr{\biolinumKeyGlyph{"E172}} -\DeclareRobustCommand*\LKeyShift{\biolinumKeyGlyph{"E174}} -\DeclareRobustCommand*\LKeyTab{\biolinumKeyGlyph{"E175}} -\DeclareRobustCommand*\LKeyEnter{\biolinumKeyGlyph{"E176}} -\DeclareRobustCommand*\LKeyCapsLock{\biolinumKeyGlyph{"E177}} -\DeclareRobustCommand*\LKeyPos{\biolinumKeyGlyph{"E191}} -\DeclareRobustCommand*\LKeyEntf{\biolinumKeyGlyph{"E18A}} -\DeclareRobustCommand*\LKeyEinf{\biolinumKeyGlyph{"E18B}} -\DeclareRobustCommand*\LKeyLeer{\biolinumKeyGlyph{"E18C}} +\DeclareRobustCommand*\LKeyStrg{\BiolinumKeyGlyph{Strg}} +\DeclareRobustCommand*\LKeyAlt{\BiolinumKeyGlyph{Alt}} +\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{"E195}} -\DeclareRobustCommand*\LKeyEnde{\biolinumKeyGlyph{"E196}} -\DeclareRobustCommand*\LKeyTux{\biolinumKeyGlyph{"E000}} -\DeclareRobustCommand*\LKeyWin{\biolinumKeyGlyph{"E168}} +\DeclareRobustCommand*\LKeyEsc{\BiolinumKeyGlyph{Esc}} +\DeclareRobustCommand*\LKeyEnde{\BiolinumKeyGlyph{Ende}} +%\DeclareRobustCommand*\LKeyTux{\BiolinumKeyGlyph{Tux}} +\DeclareRobustCommand*\LKeyWin{\BiolinumKeyGlyph{Windows}} \DeclareRobustCommand*\LKeyMenu{\biolinumKeyGlyph{"E104}} -\DeclareRobustCommand*\LKeyCommand{\biolinumKeyGlyph{"2318}} -\DeclareRobustCommand*\LKeyOptionKey{\biolinumKeyGlyph{"2325}} -\DeclareRobustCommand*\LKeyBack{\biolinumKeyGlyph{"E16E}} +\DeclareRobustCommand*\LKeyCtrl{\BiolinumKeyGlyph{Ctrl}} +\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*\LKeyPgUp{\biolinumKeyGlyph{"E198}} -\DeclareRobustCommand*\LKeyPgDown{\biolinumKeyGlyph{"E199}} +\DeclareRobustCommand*\LKeyBildUp{\BiolinumKeyGlyph{Buildup}} +\DeclareRobustCommand*\LKeyBildDown{\BiolinumKeyGlyph{Builddown}} \DeclareRobustCommand*\LKeyAt{\biolinumKeyGlyph{"0040}} -\DeclareRobustCommand*\LKeyFn{\biolinumKeyGlyph{"E188}} -\DeclareRobustCommand*\LKeyHome{\biolinumKeyGlyph{"E189}} -\DeclareRobustCommand*\LKeyDel{\biolinumKeyGlyph{"E18A}} -\DeclareRobustCommand*\LKeyIns{\biolinumKeyGlyph{"E18B}} -\DeclareRobustCommand*\LKeyEnd{\biolinumKeyGlyph{"E18E}} -\DeclareRobustCommand*\LKeyGNU{\biolinumKeyGlyph{"E190}} -\DeclareRobustCommand*\LKeyPageUp{\biolinumKeyGlyph{"E19A}} -\DeclareRobustCommand*\LKeyPageDown{\biolinumKeyGlyph{"E19B}} - -\@namedef{libertine@key@F@1}{\biolinumKeyGlyph{"E178}} -\@namedef{libertine@key@F@2}{\biolinumKeyGlyph{"E179}} -\@namedef{libertine@key@F@3}{\biolinumKeyGlyph{"E17A}} -\@namedef{libertine@key@F@4}{\biolinumKeyGlyph{"E17B}} -\@namedef{libertine@key@F@5}{\biolinumKeyGlyph{"E17C}} -\@namedef{libertine@key@F@6}{\biolinumKeyGlyph{"E17D}} -\@namedef{libertine@key@F@7}{\biolinumKeyGlyph{"E17E}} -\@namedef{libertine@key@F@8}{\biolinumKeyGlyph{"E17F}} -\@namedef{libertine@key@F@9}{\biolinumKeyGlyph{"E180}} -\@namedef{libertine@key@F@10}{\biolinumKeyGlyph{"E181}} -\@namedef{libertine@key@F@11}{\biolinumKeyGlyph{"E182}} -\@namedef{libertine@key@F@12}{\biolinumKeyGlyph{"E183}} -\@namedef{libertine@key@F@13}{\biolinumKeyGlyph{"E184}} -\@namedef{libertine@key@F@14}{\biolinumKeyGlyph{"E185}} -\@namedef{libertine@key@F@15}{\biolinumKeyGlyph{"E186}} -\@namedef{libertine@key@F@16}{\biolinumKeyGlyph{"E187}} +\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}} @@ -362,28 +368,29 @@ \DeclareRobustCommand*\LKeyShiftAltX[1]{\LKeyShift+\LKeyAlt+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftAltGrX[1]{\LKeyShift+\LKeyAltGr+\LKey{#1}} \DeclareRobustCommand*\LKeyStrgAltX[1]{\LKeyStrg+\LKeyAlt+\LKey{#1}} -\DeclareRobustCommand*\LKeyStrgAltEnt{\LKeyStrg+\LKeyAlt+\LKeyEntf} -\let\LKeyReset\LKeyStrgAltEnt +\DeclareRobustCommand*\LKeyStrgAltEntf{\LKeyStrg+\LKeyAlt+\LKeyEntf} +\let\LKeyReset\LKeyStrgAltEntf % -\@namedef{libertine@key@Pad@0}{\biolinumKeyGlyph{"E1A0}} -\@namedef{libertine@key@Pad@1}{\biolinumKeyGlyph{"E1A1}} -\@namedef{libertine@key@Pad@2}{\biolinumKeyGlyph{"E1A2}} -\@namedef{libertine@key@Pad@3}{\biolinumKeyGlyph{"E1A3}} -\@namedef{libertine@key@Pad@4}{\biolinumKeyGlyph{"E1A4}} -\@namedef{libertine@key@Pad@5}{\biolinumKeyGlyph{"E1A5}} -\@namedef{libertine@key@Pad@6}{\biolinumKeyGlyph{"E1A6}} -\@namedef{libertine@key@Pad@7}{\biolinumKeyGlyph{"E1A7}} -\@namedef{libertine@key@Pad@8}{\biolinumKeyGlyph{"E1A8}} -\@namedef{libertine@key@Pad@9}{\biolinumKeyGlyph{"E1A9}} -\@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}} +\@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}} @@ -395,5 +402,6 @@ \DeclareRobustCommand*\LMouseIIL{\biolinumKeyGlyph{"E13A}} \DeclareRobustCommand*\LMouseIIR{\biolinumKeyGlyph{"E13C}} \DeclareRobustCommand*\LMouseIILR{\biolinumKeyGlyph{"E13D}} +\fi % |