summaryrefslogtreecommitdiff
path: root/fonts/paratype/tex/PTSansNarrow.sty
blob: 7ddc271a9ea220fe25f436358d17dcf9239758d1 (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
30
31
32
33
34
35
36
37
38
39
\ProvidesPackage{PTSansNarrow} [2011/02/09 Style file for PTSansNarrow.]
%%
%% Options:
%%  [scaled]       --> Scale = 0.95
%%  [scaled=0.9]   --> Scale = 0.90
%%
\RequirePackage{keyval}
\define@key{PTSansNarrow}{scaled}[0.95]{%
  \def\PTSansNarrow@scale{#1}}
\def\ProcessOptionsWithKV#1{%
  \let\@tempc\relax
  \let\PTSansNarrow@tempa\@empty
  \@for\CurrentOption:=\@classoptionslist\do{%
    \@ifundefined{KV@#1@\CurrentOption}%
    {}%
    {%
      \edef\PTSansNarrow@tempa{\PTSansNarrow@tempa,\CurrentOption,}%
      \@expandtwoargs\@removeelement\CurrentOption
        \@unusedoptionlist\@unusedoptionlist
    }%
  }%
  \edef\PTSansNarrow@tempa{%
    \noexpand\setkeys{#1}{%
      \PTSansNarrow@tempa\@ptionlist{\@currname.\@currext}%
    }%
  }%
  \PTSansNarrow@tempa
  \let\CurrentOption\@empty
}
\ProcessOptionsWithKV{PTSansNarrow}
\AtEndOfPackage{%
  \let\@unprocessedoptions\relax
}
    
\renewcommand{\sfdefault}{PTSansNarrow-TLF}
%%\renewcommand{\familydefault}{\sfdefault}
%%\renewcommand{\bfdefault}{b}

\endinput