summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lexend/lexend.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lexend/lexend.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lexend/lexend.sty41
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lexend/lexend.sty b/Master/texmf-dist/tex/latex/lexend/lexend.sty
new file mode 100644
index 00000000000..d18aee15c18
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lexend/lexend.sty
@@ -0,0 +1,41 @@
+% lexend
+% The Lexend fonts for XeLaTeX and LuaLaTeX through fontspec
+%
+% (c) Yannick Schinko
+%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN archives
+%% in directory macros/latex/base/lppl.txt.
+%
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\ProvidesPackage{lexend}
+ [2019/11/16 0.1.1.51 The Lexend fonts for XeLaTeX and LuaLaTeX through fontspec]
+
+\RequirePackage{expl3}
+\RequirePackage{fontspec}
+
+
+% Font list
+\def\LexendVariants{
+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 } }
+\ExplSyntaxOff
+
+% Set main fonts
+\setmainfont{LexendDeca}
+\setsansfont{LexendGiga}
+
+\endinput
+%%
+%% End of file lexend.sty.