diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/subcaption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/caption/subcaption.sty | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/subcaption.sty b/Master/texmf-dist/tex/latex/caption/subcaption.sty index c5af2ecf25e..ac9c91d2306 100644 --- a/Master/texmf-dist/tex/latex/caption/subcaption.sty +++ b/Master/texmf-dist/tex/latex/caption/subcaption.sty @@ -28,7 +28,7 @@ %% user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{subcaption}[2008/03/16 v1.0 Adding subcaptions (AR)] +\ProvidesPackage{subcaption}[2008/08/31 v1.0b Adding subcaptions (AR)] \@ifundefined{caption@subtypehook}{% we need caption v3.1f or newer \PackageError{subcaption}{`caption' package not loaded\MessageBreak (which is needed by this package)\@gobble}{% @@ -69,7 +69,7 @@ \parbox[t]{#3}{% \captionsetup{subtype,position=t}% \vbox{\caption#1{#2}}% - \hrule\@height\z@ + \subcaption@hrule \csname caption@hj@#4\endcsname \unhbox\@tempboxa}% }{% @@ -78,7 +78,7 @@ \captionsetup{subtype,position=b}% \csname caption@hj@#4\endcsname \unhbox\@tempboxa - \hrule\@height\z@ + \subcaption@hrule \vtop{\caption#1{#2}}}% }} \providecommand*\caption@hj@c{\centering} @@ -86,6 +86,7 @@ \providecommand*\caption@hj@r{\raggedleft} \providecommand*\caption@hj@s{} \newcommand*\subcaptionbox@hj@default{c} +\newcommand*\subcaption@hrule{\hrule\@height\z@} \newcommand*\subfloat{% \@ifnextchar[\@subfloat\subfloat@} \long\def\@subfloat[#1]{% @@ -108,10 +109,10 @@ \caption@refstepcounter\@subcaptype \caption@prepareanchor\@subcaptype{}% \caption@makeanchor{}}% - \caption@iftop{\hrule\@height\z@}{}% + \caption@iftop\subcaption@hrule\@empty \csname caption@hj@#3\endcsname \unhbox\@tempboxa - \caption@iftop{}{\hrule\@height\z@}}}% + \caption@iftop\@empty\subcaption@hrule}}% \g@addto@macro\caption@subtypehook{% \ifx\label\subcaption@label \else \let\subcaption@ORI@label\label |