summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lexend/lexend.sty
blob: d18aee15c182c3b2f0ced0b6cacc510bb4cfabf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.