diff options
author | Norbert Preining <norbert@preining.info> | 2019-11-22 03:00:38 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-11-22 03:00:38 +0000 |
commit | 28453b76f5307a4e4f018d469cdd8eb18e7d048b (patch) | |
tree | ef08916d859a7174cb62de39176ad83a030563fb /fonts/lexend/tex | |
parent | 6332f770ef657658c6e3068266d960d18d185036 (diff) |
CTAN sync 201911220300
Diffstat (limited to 'fonts/lexend/tex')
-rw-r--r-- | fonts/lexend/tex/lexend.sty | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/fonts/lexend/tex/lexend.sty b/fonts/lexend/tex/lexend.sty index d18aee15c1..07ddb21b74 100644 --- a/fonts/lexend/tex/lexend.sty +++ b/fonts/lexend/tex/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 %% |