%% Generated by autoinst on 2020/01/19
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{SourceSansPro}
    [2020/01/19 (autoinst)  Style file for SourceSansPro.]

\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

    \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
    \let\ExecuteOptionsX\ExecuteOptions
    \let\ProcessOptionsX\ProcessOptions
}

\DeclareOptionX{lining}{\edef\SourceSansPro@figurestyle{LF}}
\DeclareOptionX{oldstyle}{\edef\SourceSansPro@figurestyle{OsF}}
\DeclareOptionX{tabular}{\edef\SourceSansPro@figurealign{T}}
\DeclareOptionX{proportional}{\edef\SourceSansPro@figurealign{}}
\DeclareOptionX{mainfont}{
    \renewcommand{\familydefault}{\sfdefault}
}
\DeclareOptionX{black}{\edef\bfseries@sf{black}}
\DeclareOptionX{semibold}{\edef\bfseries@sf{semibold}}
\DeclareOptionX{bold}{\edef\bfseries@sf{bold}}
\DeclareOptionX{regular}{\edef\mdseries@sf{regular}}
\ExecuteOptionsX{oldstyle,proportional,bold,regular}
\ProcessOptionsX\relax

\renewcommand*
    {\sfdefault}
    {SourceSansPro-\SourceSansPro@figurealign\SourceSansPro@figurestyle}

\endinput
