%% %% This is file `subcaption.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% subcaption.dtx (with options: `package') %% %% Copyright (C) 1994-2011 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) %% %% -------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2003/12/01 or later. %% %% This work has the LPPL maintenance status "maintained". %% %% 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. %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{subcaption}[2011/01/22 v1.0c Adding subcaptions (AR)] \@ifundefined{subfigure}{}{% \PackageError{subcaption}{% This package can't be used in cooperation\MessageBreak with the subfigure package}% \endinput} \@ifundefined{subfloat}{}{% \PackageError{subcaption}{% This package can't be used in cooperation\MessageBreak with the subfig package}% \endinput} \RequirePackage{caption}[2010/12/01] % needs v3.2 or newer \caption@SetupOptions{subcaption}{\captionsetup[sub]{#2}}% \caption@ExecuteOptions{subcaption}{% font+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0} \caption@ProcessOptions*{subcaption} \@ifundefined{c@figure}{}{\DeclareCaptionSubType{figure}} \@ifundefined{c@table}{}{\DeclareCaptionSubType{table}} \caption@For{typelist}{\DeclareCaptionSubType{#1}} \newcommand*\subcaption{\captionsetup{subtype*}\caption} \g@addto@macro\caption@subtypehook{\let\subcaption\caption} \caption@For{subtypelist}{% \newenvironment{sub#1}% {\caption@withoptargs\subcaption@minipage}% {\endminipage}}% \newcommand*\subcaption@minipage[2]{% \minipage#1{#2}% \captionsetup{subtype}} \newcommand*\subcaptionbox{% \def\captionbox@type{subtype}% \caption@withoptargs\caption@box} \g@addto@macro\caption@subtypehook{% \ifx\label\subcaption@label \else \let\subcaption@ORI@label\label \let\label\subcaption@label \fi} \newcommand*\subcaption@label[1]{% \@bsphack\begingroup \subcaption@ORI@label{#1}% \protected@edef\@currentlabel{\csname thesub\@captype\endcsname}% \subcaption@ORI@label{sub@#1}% \endgroup\@esphack} \DeclareRobustCommand*\subref{\caption@withoptargs\subcaption@ref} \newcommand*\subcaption@ref[2]{\ref#1{sub@#2}} \endinput %% %% End of file `subcaption.sty'.