summaryrefslogtreecommitdiff
path: root/fonts/lexend/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-01-31 03:01:37 +0000
committerNorbert Preining <norbert@preining.info>2021-01-31 03:01:37 +0000
commit8eab566745f1c61319c17e6a1aeea0f18bcfc34c (patch)
tree4c133e218862ad752d40321a84539b5814312721 /fonts/lexend/tex
parent431a21790bcbf7d842f7a3d5e6e3eaef4ae823af (diff)
CTAN sync 202101310301
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