summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/libertinus
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-04 21:18:27 +0000
committerKarl Berry <karl@freefriends.org>2018-09-04 21:18:27 +0000
commit8269b1f3082ab31373e25dc9e51a4d544d7ef046 (patch)
treeaa3b8f261f30d7694dd5e80181e2cee726b75ece /Master/texmf-dist/tex/latex/libertinus
parent504668cee98c68e9639603347a418a76e26b7c72 (diff)
libertinus, now macro wrapper for l-type1 or l-otf (4sep18)
git-svn-id: svn://tug.org/texlive/trunk@48578 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/libertinus')
-rw-r--r--Master/texmf-dist/tex/latex/libertinus/libertinus.sty37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/libertinus/libertinus.sty b/Master/texmf-dist/tex/latex/libertinus/libertinus.sty
new file mode 100644
index 00000000000..476f538a1e2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/libertinus/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