From bcdd4b5d66feaf11bd0ef448645957cb6f14f372 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 7 Aug 2011 22:50:54 +0000 Subject: ccaption 3.2c (7aug11) git-svn-id: svn://tug.org/texlive/trunk@23443 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ccaption/ccaption.sty | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/ccaption/ccaption.sty b/Master/texmf-dist/tex/latex/ccaption/ccaption.sty index f1eb14a619a..218ef150023 100644 --- a/Master/texmf-dist/tex/latex/ccaption/ccaption.sty +++ b/Master/texmf-dist/tex/latex/ccaption/ccaption.sty @@ -20,9 +20,8 @@ %% %% This work consists of the files listed in the README file. %% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ccaption}[2009/09/02 v3.2b Extended captioning and new floats] - +\ProvidesPackage{ccaption} + [2011/08/07 v3.2c Extended captioning and new floats] \newif\if@contsubfigxx \@contsubfigxxfalse \newif\if@contsubfigxxi @@ -261,18 +260,16 @@ \contcaption{#3} \endgroup} -\providecommand*{\LT@makecaption}[3]{} -\renewcommand*{\LT@makecaption}[3]{% +\def\LT@makecaption#1#2#3{% \LT@mcol\LT@cols c{\hb@xt@ \z@{\hss\parbox[t]\LTcapwidth{% - \sbox\@tempboxa{#1{\@contnfont #2\@contdelim}\@conttfont #3}% + \sbox\@tempboxa{#1{{\@contnfont #2\@contdelim}}\@conttfont #3}% \ifdim\wd\@tempboxa>\hsize - #1{\@contnfont #2\@contdelim}\@conttfont #3% + #1{{\@contnfont #2\@contdelim}}\@conttfont #3% \else \hb@xt@ \hsize{\hfil\box\@tempboxa\hfil}% \fi \endgraf\vskip\belowcaptionskip}% \hss}}} - \newcommand*{\longbitwonumcaption}[5]{% \@if@contemptyarg{#1}{\caption{#2}}{\caption[#1]{#2}}% \global\let\@cont@oldtablename\tablename -- cgit v1.2.3