summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ptsans/PTSansOld.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ptsans/PTSansOld.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ptsans/PTSansOld.sty35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ptsans/PTSansOld.sty b/Master/texmf-dist/tex/latex/ptsans/PTSansOld.sty
new file mode 100644
index 00000000000..005480e5956
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ptsans/PTSansOld.sty
@@ -0,0 +1,35 @@
+%%Generayed by autoinst on 2011/01/27
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{PTSans}
+ [2011/01/27 (autoinst) Style file for PTSans.]
+
+\RequirePackage[T2A,T2B,T2C,X2,IL2,T1]{fontenc}
+\RequirePackage{textcomp}
+\IfFileExists{fontaxes.sty}{
+ \RequirePackage{fontaxes}
+}{}
+
+\IfFileExists{xkeyval.sty}{
+ \newcommand*{\PTSans@scale}{1}
+ \RequirePackage{xkeyval}
+ \DeclareOptionX{scaled}{\renewcommand*{\PTSans@scale}{##1}}
+}{
+ \let\DeclareOptionX\DeclareOption
+ \let\ExecuteOptionsX\ExecuteOptions
+ \let\ProcessOptionsX\ProcessOptions
+}
+
+\DeclareOptionX{lining}{\edef\PTSans@figurestyle{LF}}
+\DeclareOptionX{tabular}{\edef\PTSans@figurealign{T}}
+\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
+\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
+\ExecuteOptionsX{lining,tabular,bold,regular}
+\ProcessOptionsX\relax
+
+\renewcommand*
+ {\sfdefault}
+ {PTSans-\PTSans@figurealign\PTSans@figurestyle}
+\renewcommand*{\familydefault}{\sfdefault}
+
+\endinput