summaryrefslogtreecommitdiff
path: root/fonts/nimbus15/tex/nimbusserif.sty
blob: 015b51fa7204664823fce21ce717d707e59fa7d3 (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
\NeedsTeXFormat{LaTeX2e}
\def\fileversion{1.012}
\def\filedate{2019/10/18}
\ProvidesPackage{nimbusserif}[\filedate\space v\fileversion]
\message{`nimbusserif' v\fileversion, \filedate\space Style file for NimbusSerif (msharpe)}

\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}

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

\ProcessOptionsX\relax

\edef\bfseries@rm{b}
\edef\mdseries@rm{m}
\renewcommand*{\rmdefault}{NimbusSerif}
\renewcommand*{\familydefault}{\rmdefault}

\endinput