summaryrefslogtreecommitdiff
path: root/fonts/lexend/tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/lexend/tex')
-rw-r--r--fonts/lexend/tex/lexend.sty23
1 files changed, 13 insertions, 10 deletions
diff --git a/fonts/lexend/tex/lexend.sty b/fonts/lexend/tex/lexend.sty
index 2c343f693e..413091a9e7 100644
--- a/fonts/lexend/tex/lexend.sty
+++ b/fonts/lexend/tex/lexend.sty
@@ -9,7 +9,7 @@
%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{lexend}
- [2020/02/19 1.0.2.53 The Lexend fonts for XeLaTeX and LuaLaTeX through fontspec]
+ [2021/01/30 1.1.0.70 The Lexend fonts for XeLaTeX and LuaLaTeX through fontspec]
% Packages/Dependencies
\RequirePackage{expl3}
@@ -26,20 +26,23 @@
\ProcessKeyvalOptions*{}
% Font list
+\ExplSyntaxOn
\def\LexendVariants{
-LexendDeca,%
-LexendExa,%
-LexendGiga,%
-LexendMega,%
-LexendPeta,%
-LexendTera,%
-LexendZetta%
+ LexendDeca,
+ LexendExa,
+ LexendGiga,
+ LexendMega,
+ LexendPeta,
+ LexendTera,
+ LexendZetta
}
% Font aliases
%% Iterate over all known fonts and create aliases
-\ExplSyntaxOn
-\clist_map_inline:Nn \LexendVariants { \exp_args:Nc \newfontfamily { #1 } { #1 } }
+\clist_map_inline:Nn \LexendVariants {
+ \exp_args:Nc \newfontfamily { @#1 } { #1 }
+ \exp_args:Ncc \DeclareTextFontCommand { #1 } { @#1 }
+}
\ExplSyntaxOff
% Set main fonts