<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% 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}
  [2021/01/30 1.1.0.70 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
\ExplSyntaxOn
\def\LexendVariants{
  LexendDeca,
  LexendExa,
  LexendGiga,
  LexendMega,
  LexendPeta,
  LexendTera,
  LexendZetta
}

% Font aliases
%% Iterate over all known fonts and create aliases
\clist_map_inline:Nn \LexendVariants {
  \exp_args:Nc \newfontfamily { @#1 } { #1 }
  \exp_args:Ncc \DeclareTextFontCommand { #1 } { @#1 }
}
\ExplSyntaxOff

% Set main fonts
\iflexend@main
  \setmainfont{LexendDeca}
\fi

\iflexend@sans
  \setsansfont{LexendGiga}
\fi

\endinput
%%
%% End of file lexend.sty.
</pre></body></html>