summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/subcaption.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/subcaption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/subcaption.sty14
1 files changed, 6 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/subcaption.sty b/Master/texmf-dist/tex/latex/caption/subcaption.sty
index 7f5627adeb3..66dae89eef4 100644
--- a/Master/texmf-dist/tex/latex/caption/subcaption.sty
+++ b/Master/texmf-dist/tex/latex/caption/subcaption.sty
@@ -23,13 +23,13 @@
%% This Current Maintainer of this work is Axel Sommerfeldt.
%%
%% This work consists of the files caption.ins, caption.dtx, caption2.dtx,
-%% caption3.dtx, bicaption.dtx, ltcaption.dtx, and subcaption.dtx,
-%% the derived files caption.sty, caption2.sty, caption3.sty, bicaption.sty,
-%% ltcaption.sty, and subcaption.sty, and the user manuals caption-deu.tex,
-%% caption-eng.tex, and caption-rus.tex.
+%% caption3.dtx, bicaption.dtx, ltcaption.dtx, subcaption.dtx, and newfloat.dtx,
+%% the derived files caption.sty, caption2.sty, caption3.sty,
+%% bicaption.sty, ltcaption.sty, subcaption.sty, and newfloat.sty,
+%% and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{subcaption}[2011/09/12 v1.1b Sub-captions (AR)]
+\ProvidesPackage{subcaption}[2011/10/30 v1.1c Sub-captions (AR)]
\RequirePackage{caption}[2011/08/18] % needs v3.2b or newer
\caption@AtBeginDocument{\caption@ifcompatibility{%
\caption@Error{%
@@ -49,9 +49,7 @@
\caption@ExecuteOptions{subcaption}{%
font+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0}
\caption@ProcessOptions*{subcaption}
-\caption@ifundefined\c@figure{}{\DeclareCaptionSubType{figure}}
-\caption@ifundefined\c@table{}{\DeclareCaptionSubType{table}}
-\caption@For{typelist}{\DeclareCaptionSubType{#1}}
+\caption@ForEachType{\DeclareCaptionSubType{#1}}
\newcommand*\subcaption{%
\caption@iftype
{\setcaptionsubtype*\caption}%