blob: 0958c7258684804fbd70d1e3f0b24df99362e7a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{nimbusmono}
[2015/09/19 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
|