diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/ltcaption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/caption/ltcaption.sty | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/ltcaption.sty b/Master/texmf-dist/tex/latex/caption/ltcaption.sty index 9a326f141d0..a93c38c07b0 100644 --- a/Master/texmf-dist/tex/latex/caption/ltcaption.sty +++ b/Master/texmf-dist/tex/latex/caption/ltcaption.sty @@ -29,7 +29,7 @@ %% caption-eng.tex, and caption-rus.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{ltcaption}[2011/01/01 v1.2a longtable captions (AR)] +\ProvidesPackage{ltcaption}[2011/09/12 v1.3 longtable captions (AR)] \@ifpackageloaded{longtable}{}{% \PackageError{ltcaption}{longtable package not loaded, aborting}{RTFM}} \providecommand*\LTcaptype{table} @@ -44,6 +44,7 @@ \newif\ifLTcapmargins \LTcapmarginstrue \providecommand*\CaptionLabelFont{} \providecommand*\CaptionTextFont{} + \providecommand*\CaptionLabelSeparator{:} } \@ifundefined{caption@AtBeginDocument}\AtBeginDocument\caption@AtBeginDocument{% \let\ltcaption@ORI@LT@array\LT@array @@ -80,9 +81,10 @@ \ignorespaces} \renewcommand\LT@makecaption[3]{% \LT@@makecaption{% - \sbox\@tempboxa{#1{{\CaptionLabelFont#2:} }\CaptionTextFont#3}% + \sbox\@tempboxa{% + #1{{\CaptionLabelFont#2\CaptionLabelSeparator} }\CaptionTextFont#3}% \ifdim\wd\@tempboxa>\hsize - #1{\CaptionLabelFont{#2:} }\CaptionTextFont#3% + #1{{\CaptionLabelFont#2\CaptionLabelSeparator} }\CaptionTextFont#3% \else \hbox to\hsize{\hfil\box\@tempboxa\hfil}% \fi |