diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-22 22:17:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-22 22:17:20 +0000 |
commit | e5bf96f66b5d613790dfd6e2a4df484bc269aba7 (patch) | |
tree | e86d20392204c337ac8ef9cc9e5a43ce1873930a /Master/texmf-dist/tex/latex | |
parent | c28caa3f61c156fb399ed8cafaa26c30a98063e0 (diff) |
lexend (22nov19)
git-svn-id: svn://tug.org/texlive/trunk@52888 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/lexend/lexend.sty | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lexend/lexend.sty b/Master/texmf-dist/tex/latex/lexend/lexend.sty index d18aee15c18..07ddb21b747 100644 --- a/Master/texmf-dist/tex/latex/lexend/lexend.sty +++ b/Master/texmf-dist/tex/latex/lexend/lexend.sty @@ -9,11 +9,21 @@ % \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{lexend} - [2019/11/16 0.1.1.51 The Lexend fonts for XeLaTeX and LuaLaTeX through fontspec] + [2019/11/18 1.0.0.55 The Lexend fonts for XeLaTeX and LuaLaTeX through fontspec] +% Packages/Dependencies \RequirePackage{expl3} \RequirePackage{fontspec} +\RequirePackage{kvoptions} +% Package options +\DeclareBoolOption[true]{main} +\DeclareComplementaryOption{nomain}{main} + +\DeclareBoolOption[true]{sans} +\DeclareComplementaryOption{nosans}{sans} + +\ProcessKeyvalOptions*{} % Font list \def\LexendVariants{ @@ -33,8 +43,13 @@ LexendZetta% \ExplSyntaxOff % Set main fonts -\setmainfont{LexendDeca} -\setsansfont{LexendGiga} +\iflexend@main + \setmainfont{LexendDeca} +\fi + +\iflexend@sans + \setsansfont{LexendGiga} +\fi \endinput %% |