summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-24 21:43:07 +0000
committerKarl Berry <karl@freefriends.org>2019-10-24 21:43:07 +0000
commit3c389376eb9fd0f381f82cc35ef1885ef87cd83f (patch)
treeda5a165c1cdc02a055f1960a2ea82361533c68ac /Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty
parentdb402fe78c32870a226897340e37bd899645fe11 (diff)
plex (24oct19)
git-svn-id: svn://tug.org/texlive/trunk@52522 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty')
-rw-r--r--Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty b/Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty
new file mode 100644
index 00000000000..da2e713d38f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/plex/IBMPlexSans.sty
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/10/23
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{IBMPlexSans}
+ [2019/10/23 (autoinst) Style file for IBMPlexSans.]
+
+\RequirePackage[T1,LY1,LGR]{fontenc}
+\RequirePackage{textcomp}
+\IfFileExists{mweights.sty}{\RequirePackage{mweights}}{}
+\IfFileExists{fontaxes.sty}{
+ \RequirePackage{fontaxes}
+ \fa@naming@exception{figures}{{superior}{proportional}}{Sup}
+ \fa@naming@exception{figures}{{superior}{tabular}}{Sup}
+ \def\sufigures{\@nomath\sufigures
+ \fontfigurestyle{superior}\selectfont}
+ \DeclareTextFontCommand{\textsu}{\sufigures}
+ \let\textsuperior\textsu
+
+}{}
+
+\IfFileExists{xkeyval.sty}{
+ \newcommand*{\IBMPlexSans@scale}{1}
+ \RequirePackage{xkeyval}
+ \DeclareOptionX{scale}{\renewcommand*{\IBMPlexSans@scale}{##1}}
+ \DeclareOptionX{scaled}{\renewcommand*{\IBMPlexSans@scale}{##1}}
+}{
+ \let\DeclareOptionX\DeclareOption
+ \let\ExecuteOptionsX\ExecuteOptions
+ \let\ProcessOptionsX\ProcessOptions
+}
+
+\DeclareOptionX{lining}{\edef\IBMPlexSans@figurestyle{LF}}
+\DeclareOptionX{tabular}{\edef\IBMPlexSans@figurealign{T}}
+\DeclareOptionX{mainfont}{
+ \renewcommand{\familydefault}{\sfdefault}
+}
+\DeclareOptionX{semibold}{\edef\bfseries@sf{semibold}}
+\DeclareOptionX{bold}{\edef\bfseries@sf{bold}}
+\DeclareOptionX{medium}{\edef\mdseries@sf{medium}}
+\DeclareOptionX{text}{\edef\mdseries@sf{text}}
+\DeclareOptionX{regular}{\edef\mdseries@sf{regular}}
+\ExecuteOptionsX{lining,tabular,bold,regular}
+\ProcessOptionsX\relax
+
+\renewcommand*
+ {\sfdefault}
+ {IBMPlexSans-\IBMPlexSans@figurealign\IBMPlexSans@figurestyle}
+
+\endinput