summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ptsans/PTSansCaptionOld.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ptsans/PTSansCaptionOld.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ptsans/PTSansCaptionOld.sty35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ptsans/PTSansCaptionOld.sty b/Master/texmf-dist/tex/latex/ptsans/PTSansCaptionOld.sty
new file mode 100644
index 00000000000..06854638310
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ptsans/PTSansCaptionOld.sty
@@ -0,0 +1,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