From d8e4c7219af6d5dc7adb3defbcc0503f3f35dfe8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Feb 2020 00:28:59 +0000 Subject: libertinus-otf (22feb20) git-svn-id: svn://tug.org/texlive/trunk@53871 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/libertinus-otf/libertinus-otf.sty | 67 ++++++++++++++++++++-- 1 file changed, 63 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/libertinus-otf') 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 e741af8b00d..f0ffebc9602 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 1100 2019-10-23 19:07:26Z herbert $ +%% $Id: libertinus-otf.sty 1146 2020-02-22 15:47:27Z 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/08 v. 0.23 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] + 2020/02/22 v. 0.24 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} %\RequirePackage[no-math]{fontspec} @@ -543,5 +543,64 @@ \fi % -\def\Wikipedia{{\fontspec{Libertinus Serif Regular}[RawFeature=+ss05]W}} -%\def\WikipediaSF{{\addfontfeature{RawFeature=+ss05}\fontspec{Libertinus Sans Regular}W}} +\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} + + + -- cgit v1.2.3