summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cabin/Cabin.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-04 20:51:45 +0000
committerKarl Berry <karl@freefriends.org>2019-04-04 20:51:45 +0000
commit21cb178c7f135b21a38eee670cfa15bc5669cc13 (patch)
tree55f8ff36e89310e3375f100f1e433b02ccf88b80 /Master/texmf-dist/tex/latex/cabin/Cabin.sty
parent937013db6cf4651125ded922f3e8b4b54227b8c9 (diff)
cabin (4apr19)
git-svn-id: svn://tug.org/texlive/trunk@50751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cabin/Cabin.sty')
-rw-r--r--Master/texmf-dist/tex/latex/cabin/Cabin.sty55
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cabin/Cabin.sty b/Master/texmf-dist/tex/latex/cabin/Cabin.sty
new file mode 100644
index 00000000000..9f44a0564ce
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cabin/Cabin.sty
@@ -0,0 +1,55 @@
+%% Generated by autoinst on 2019/04/04
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{Cabin}
+ [2019/04/04 (autoinst) Style file for Cabin.]
+
+\RequirePackage[T1,LY1]{fontenc}
+\RequirePackage{textcomp}
+\IfFileExists{mweights.sty}{\RequirePackage{mweights}}{}
+\IfFileExists{fontaxes.sty}{
+ \RequirePackage{fontaxes}
+ \providecommand{\tldefault}{tl}
+ \DeclareRobustCommand\tlshape{\not@math@alphabet\tlshape\relax
+ \fontsecondaryshape\tldefault\selectfont}
+ \DeclareTextFontCommand{\texttl}{\tlshape}
+ \let\texttitling\texttl
+ \fa@naming@exception{shape}{{n}{tl}}{tl}
+ \fa@naming@exception{shape}{{it}{tl}}{tlit}
+ \fa@naming@exception{shape}{{sl}{tl}}{tlsl}
+
+ \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*{\Cabin@scale}{1}
+ \RequirePackage{xkeyval}
+ \DeclareOptionX{scale}{\renewcommand*{\Cabin@scale}{##1}}
+ \DeclareOptionX{scaled}{\renewcommand*{\Cabin@scale}{##1}}
+}{
+ \let\DeclareOptionX\DeclareOption
+ \let\ExecuteOptionsX\ExecuteOptions
+ \let\ProcessOptionsX\ProcessOptions
+}
+
+\DeclareOptionX{lining}{\edef\Cabin@figurestyle{LF}}
+\DeclareOptionX{tabular}{\edef\Cabin@figurealign{T}}
+\DeclareOptionX{semibold}{\edef\bfseries@rm{semibold}}
+\DeclareOptionX{bold}{\edef\bfseries@rm{bold}}
+\DeclareOptionX{medium}{\edef\mdseries@rm{medium}}
+\DeclareOptionX{regular}{\edef\mdseries@rm{regular}}
+\ExecuteOptionsX{lining,tabular,bold,regular}
+\ProcessOptionsX\relax
+
+\renewcommand*
+ {\rmdefault}
+ {Cabin-\Cabin@figurealign\Cabin@figurestyle}
+\renewcommand*{\familydefault}{\rmdefault}
+
+\endinput