diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-11 22:51:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-11 22:51:57 +0000 |
commit | 662cda48313c1615e5b117f827f245bd4a4fc22a (patch) | |
tree | 01e91550e909592ad97621e006e88bb7245ab8f0 /Master/texmf-dist/tex/latex/caption/ltcaption.sty | |
parent | cb7441b1e993714d541a3ac8ec26843cd16a301b (diff) |
caption (11oct11)
git-svn-id: svn://tug.org/texlive/trunk@24268 c570f23f-e606-0410-a88d-b1316a301751
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 |