\NeedsTeXFormat{LaTeX2e}
\def\fileversion{1.012}
\def\filedate{2019/10/18}
\ProvidesPackage{nimbusmono}[\filedate\space v\fileversion]
\message{`nimbusmono' v\fileversion, \filedate\space Style file for NimbusMono (msharpe)}

\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\IfFileExists{mweights.sty}{\RequirePackage{mweights}}{}

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

\DeclareOptionX{bold}{\edef\bfseries@tt{b}}
\DeclareOptionX{semibold}{\edef\bfseries@tt{m}}
\DeclareOptionX{regular}{\edef\mdseries@tt{m}}
\DeclareOptionX{light}{\edef\mdseries@tt{l}}
\ExecuteOptionsX{bold,regular}
\ProcessOptionsX\relax

\renewcommand*{\ttdefault}{NimbusMono}

\endinput
