blob: 068546383101e49ef18bc08abebf38fd5ee69333 (
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
|
%%Generayed by autoinst on 2011/01/27
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PTSansCaption}
[2011/01/27 (autoinst) Style file for PTSansCaption.]
\RequirePackage[T2A,T2B,T2C,X2,IL2,T1]{fontenc}
\RequirePackage{textcomp}
\IfFileExists{fontaxes.sty}{
\RequirePackage{fontaxes}
}{}
\IfFileExists{xkeyval.sty}{
\newcommand*{\PTSansCaption@scale}{1}
\RequirePackage{xkeyval}
\DeclareOptionX{scaled}{\renewcommand*{\PTSansCaption@scale}{##1}}
}{
\let\DeclareOptionX\DeclareOption
\let\ExecuteOptionsX\ExecuteOptions
\let\ProcessOptionsX\ProcessOptions
}
\DeclareOptionX{lining}{\edef\PTSansCaption@figurestyle{LF}}
\DeclareOptionX{tabular}{\edef\PTSansCaption@figurealign{T}}
\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
\ExecuteOptionsX{lining,tabular,bold,regular}
\ProcessOptionsX\relax
\renewcommand*
{\sfdefault}
{PTSansCaption-\PTSansCaption@figurealign\PTSansCaption@figurestyle}
\renewcommand*{\familydefault}{\sfdefault}
\endinput
|