%% $Id: libertinus.sty 1172 2020-05-06 19:03:18Z 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 2020 Herbert Voss hvoss@tug.org
%
\ProvidesPackage{libertinus}[%
  2020/05/06 v. 0.02 (Herbert Voss) Supports libertinus fonts for 
     pdflatex/lualatex/xelatex] 

\RequirePackage{iftex,xkeyval}
\newif\if@libertinus@newengine \@libertinus@newenginefalse 
\iftutex\@libertinus@newenginetrue\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}

\endinput