summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/paratype/PTSerifCaption.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/paratype/PTSerifCaption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/paratype/PTSerifCaption.sty39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/paratype/PTSerifCaption.sty b/Master/texmf-dist/tex/latex/paratype/PTSerifCaption.sty
new file mode 100644
index 00000000000..728c637a4b9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/paratype/PTSerifCaption.sty
@@ -0,0 +1,39 @@
+\ProvidesPackage{PTSerifCaption} [2011/02/10 Style file for PTSerifCaption.]
+%%
+%% Options:
+%% [scaled] --> Scale = 0.95
+%% [scaled=0.9] --> Scale = 0.90
+%%
+\RequirePackage{keyval}
+\define@key{PTSerifCaption}{scaled}[0.95]{%
+ \def\PTSerifCaption@scale{#1}}
+\def\ProcessOptionsWithKV#1{%
+ \let\@tempc\relax
+ \let\PTSerifCaption@tempa\@empty
+ \@for\CurrentOption:=\@classoptionslist\do{%
+ \@ifundefined{KV@#1@\CurrentOption}%
+ {}%
+ {%
+ \edef\PTSerifCaption@tempa{\PTSerifCaption@tempa,\CurrentOption,}%
+ \@expandtwoargs\@removeelement\CurrentOption
+ \@unusedoptionlist\@unusedoptionlist
+ }%
+ }%
+ \edef\PTSerifCaption@tempa{%
+ \noexpand\setkeys{#1}{%
+ \PTSerifCaption@tempa\@ptionlist{\@currname.\@currext}%
+ }%
+ }%
+ \PTSerifCaption@tempa
+ \let\CurrentOption\@empty
+}
+\ProcessOptionsWithKV{PTSerifCaption}
+\AtEndOfPackage{%
+ \let\@unprocessedoptions\relax
+}
+
+\renewcommand{\rmdefault}{PTSerifCaption-TLF}
+%%\renewcommand{\familydefault}{\rmdefault}
+%%\renewcommand{\bfdefault}{b}
+
+\endinput