%% Generated by autoinst on 2013/05/26
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{SourceCodePro}
    [2013/05/26 (autoinst)  Style file for SourceCodePro.]

\RequirePackage[T1,LY1]{fontenc}
\RequirePackage{textcomp}
\IfFileExists{fontaxes.sty}{
    \RequirePackage{fontaxes}
}{}

\IfFileExists{xkeyval.sty}{
    \newcommand*{\SourceCodePro@scale}{1}
    \RequirePackage{xkeyval}
    \DeclareOptionX{scaled}{\renewcommand*{\SourceCodePro@scale}{##1}}
}{
    \let\DeclareOptionX\DeclareOption
    \let\ExecuteOptionsX\ExecuteOptions
    \let\ProcessOptionsX\ProcessOptions
}

\DeclareOptionX{lining}{\edef\SourceCodePro@figurestyle{LF}}
\DeclareOptionX{oldstyle}{\edef\SourceCodePro@figurestyle{OsF}}
\DeclareOptionX{tabular}{\edef\SourceCodePro@figurealign{T}}
\DeclareOptionX{proportional}{\edef\SourceCodePro@figurealign{}}
\DeclareOptionX{black}{\renewcommand*{\bfdefault}{k}}
\DeclareOptionX{semibold}{\renewcommand*{\bfdefault}{sb}}
\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
\DeclareOptionX{light}{\renewcommand*{\mddefault}{l}}
\DeclareOptionX{medium}{\renewcommand*{\mddefault}{mb}}
\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
\ExecuteOptionsX{oldstyle,proportional,bold,regular}
\ProcessOptionsX\relax

\renewcommand*
    {\ttdefault}
    {SourceCodePro-\SourceCodePro@figurealign\SourceCodePro@figurestyle}
\renewcommand*{\familydefault}{\ttdefault}

\endinput
