summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-07 22:50:54 +0000
committerKarl Berry <karl@freefriends.org>2011-08-07 22:50:54 +0000
commitbcdd4b5d66feaf11bd0ef448645957cb6f14f372 (patch)
tree01a3afd2afd814fb65b3955f6f4f8c46d9de40b6 /Master/texmf-dist/tex
parent5c643469f1d42bcc79dc4d4856860d28553f062d (diff)
ccaption 3.2c (7aug11)
git-svn-id: svn://tug.org/texlive/trunk@23443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/ccaption/ccaption.sty13
1 files changed, 5 insertions, 8 deletions
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