From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- fonts/libertinus/latex/libertinus.sty | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 fonts/libertinus/latex/libertinus.sty (limited to 'fonts/libertinus/latex') diff --git a/fonts/libertinus/latex/libertinus.sty b/fonts/libertinus/latex/libertinus.sty new file mode 100644 index 0000000000..476f538a1e --- /dev/null +++ b/fonts/libertinus/latex/libertinus.sty @@ -0,0 +1,37 @@ +%% $Id: libertinus.sty 803 2018-09-03 19:43:59Z 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 2018 Herbert Voss hvoss@tug.org +% +\ProvidesPackage{libertinus}[% + 2018/09/03 v. 0.01 (Herbert Voss) Supports libertinus fonts for + pdflatex/lualatex/xelatex] + +\RequirePackage{ifxetex,ifluatex,xkeyval} +\newif\if@libertinus@newengine \@libertinus@newenginefalse +\ifxetex\@libertinus@newenginetrue +\else + \ifluatex\@libertinus@newenginetrue\fi +\fi + +\if@libertinus@newengine + \def\libertinus@package{libertinus-otf} +\else + \def\libertinus@package{libertinus-type1} +\fi +\DeclareOptionX*{\PassOptionsToPackage\CurrentOption{\libertinus@package}} +\ProcessOptionsX\relax + +\RequirePackage{\libertinus@package} + +%\if@libertinus@newengine +% \RequirePackage{libertinus-otf} +%\else +% \RequirePackage{libertinus-type1} +%\fi + +\endinput \ No newline at end of file -- cgit v1.2.3