diff options
author | Karl Berry <karl@freefriends.org> | 2018-06-13 21:45:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-06-13 21:45:03 +0000 |
commit | 479e4efc8a7179ed3a31ca7d32439ba197c46a76 (patch) | |
tree | ef7c64baa585427c52ce5e59d60845dd3a5ae5de /Master/texmf-dist/tex/latex | |
parent | 046927b57b0a0739186f6d42b6af76218d6d2f6a (diff) |
libertinus-otf (13jun18)
git-svn-id: svn://tug.org/texlive/trunk@48006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty | 26 |
1 files changed, 15 insertions, 11 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 568da6dd42a..3580eb3ae96 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 765 2018-05-23 11:09:15Z herbert $ +%% $Id: libertinus-otf.sty 770 2018-06-13 14:22:56Z 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,9 +8,10 @@ % Copyright 2018 Herbert Voss hvoss@tug.org % \ProvidesPackage{libertinus-otf}[% - 2018/05/23 v. 0.06 (Herbert Voss) Supports libertinus fonts for all luatex/xetex .] + 2018/06/12 v. 0.07a (Herbert Voss) Supports libertinus fonts for all luatex/xetex .] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} +\RequirePackage{unicode-math} \newif\iflibertinus@lining \libertinus@liningtrue \newif\ifbiolinum@lining \biolinum@liningtrue @@ -66,7 +67,6 @@ \def\libertinus@boldstyle{semibold} \fi -\RequirePackage{unicode-math} \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ @@ -82,7 +82,8 @@ BoldFont = *-\libertinus@boldstyle, BoldItalicFont = *-\libertinus@boldstyle italic, SmallCapsFeatures={Letters=SmallCaps}, - Extension = .otf ] + Extension = .otf +] \setsansfont{libertinussans}[ % Numbers = {\libertinus@figurealign, \libertinus@figurestyle} , Scale = \libertinusSF@scale , @@ -91,20 +92,22 @@ BoldFont = *-bold, BoldItalicFont = *-bolditalic, SmallCapsFeatures={Letters=SmallCaps}, - Extension = .otf ] + Extension = .otf +] \setmonofont{libertinusmono}[ -% Numbers = {\libertinus@figurealign, \libertinus@figurestyle} , - Scale = \libertinusTT@scale , +% Numbers = {\libertinus@figurealign, \libertinus@figurestyle}, + Scale = \libertinusTT@scale, FakeStretch = 0.8, UprightFont = *-regular, ItalicFont = *-italic, BoldFont = *-bold, % AutoFakeBold = 1.5, - Extension = .otf, ] + Extension = .otf, +] -\setmathfont{libertinusmath-regular.otf}[BoldFont=libertinusmath-bold.otf] -%\setmathfont{libertinusmath-regular.otf} -%\setmathfont[version=bold]{libertinusmath-bold.otf} +%\setmathfont{libertinusmath-regular.otf}[BoldFont=libertinusmath-bold.otf] +\setmathfont{libertinusmath-regular.otf} +\setmathfont[version=bold]{libertinusmath-bold.otf} \newfontfamily\LibertinusKeyboard{libertinuskeyboard-regular.otf} \newfontfamily\LibertinusDisplay{libertinusserifdisplay-regular.otf} @@ -125,6 +128,7 @@ \DeclareRobustCommand*\LKeyEntf{\biolinumKeyGlyph{"E18A}} \DeclareRobustCommand*\LKeyEinf{\biolinumKeyGlyph{"E18B}} \DeclareRobustCommand*\LKeyLeer{\biolinumKeyGlyph{"E18C}} +\let\LKeySpace\LKeyLeer \DeclareRobustCommand*\LKeyEsc{\biolinumKeyGlyph{"E195}} \DeclareRobustCommand*\LKeyEnde{\biolinumKeyGlyph{"E196}} \DeclareRobustCommand*\LKeyTux{\biolinumKeyGlyph{"E000}} |