summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty')
-rw-r--r--Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty36
1 files changed, 29 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty
index 60390c84d7e..36c5c3e805a 100644
--- a/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty
+++ b/Master/texmf-dist/tex/latex/sourcesanspro/sourcesanspro-type1-autoinst.sty
@@ -1,18 +1,40 @@
-%% Generated by autoinst on 2013/04/21
+%% Generated by autoinst on 2014/07/28
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{SourceSansPro}
- [2013/04/21 (autoinst) Style file for SourceSansPro.]
+ [2014/07/28 (autoinst) Style file for SourceSansPro.]
\RequirePackage[T1,LY1]{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
+
+ \fa@naming@exception{figures}{{inferior}{proportional}}{Inf}
+ \fa@naming@exception{figures}{{inferior}{tabular}}{Inf}
+ \def\infigures{\@nomath\infigures
+ \fontfigurestyle{inferior}\selectfont}
+ \DeclareTextFontCommand{\textin}{\infigures}
+ \let\textinferior\textin
+
+ \fa@naming@exception{figures}{{numerators}{proportional}}{Numr}
+ \fa@naming@exception{figures}{{numerators}{tabular}}{Numr}
+
+ \fa@naming@exception{figures}{{denominators}{proportional}}{Dnom}
+ \fa@naming@exception{figures}{{denominators}{tabular}}{Dnom}
+
}{}
\IfFileExists{xkeyval.sty}{
\newcommand*{\SourceSansPro@scale}{1}
\RequirePackage{xkeyval}
+ \DeclareOptionX{scale}{\renewcommand*{\SourceSansPro@scale}{##1}}
\DeclareOptionX{scaled}{\renewcommand*{\SourceSansPro@scale}{##1}}
}{
\let\DeclareOptionX\DeclareOption
@@ -24,11 +46,11 @@
\DeclareOptionX{oldstyle}{\edef\SourceSansPro@figurestyle{OsF}}
\DeclareOptionX{tabular}{\edef\SourceSansPro@figurealign{T}}
\DeclareOptionX{proportional}{\edef\SourceSansPro@figurealign{}}
-\DeclareOptionX{black}{\renewcommand*{\bfdefault}{k}}
-\DeclareOptionX{semibold}{\renewcommand*{\bfdefault}{sb}}
-\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
-\DeclareOptionX{light}{\renewcommand*{\mddefault}{l}}
-\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
+\DeclareOptionX{black}{\edef\bfseries@sf{k}}
+\DeclareOptionX{semibold}{\edef\bfseries@sf{sb}}
+\DeclareOptionX{bold}{\edef\bfseries@sf{b}}
+\DeclareOptionX{light}{\edef\mdseries@sf{l}}
+\DeclareOptionX{regular}{\edef\mdseries@sf{m}}
\ExecuteOptionsX{oldstyle,proportional,bold,regular}
\ProcessOptionsX\relax