diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-01 09:47:00 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-01 09:47:00 +0000 |
commit | 20e8d98fb75d2ffc940ee5a53effe336030b6017 (patch) | |
tree | 392c701b5656e5ac5047ae490ca7e87ffeb6b618 /Master/texmf-dist/tex/latex | |
parent | 68e1ceba99c20c0431ffef2bced16aef9522795f (diff) |
ctable v1.13
git-svn-id: svn://tug.org/texlive/trunk@7766 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctable/ctable.sty | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/ctable/ctable.sty b/Master/texmf-dist/tex/latex/ctable/ctable.sty index 1d6eb0b4e37..6b799de1e0f 100644 --- a/Master/texmf-dist/tex/latex/ctable/ctable.sty +++ b/Master/texmf-dist/tex/latex/ctable/ctable.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{ctable} - [2008/04/13 v1.12 ctable package] + [2008/05/01 v1.13 ctable package] \RequirePackage{color,xkeyval,array,tabularx,booktabs,rotating,caption} \def\NN{\tabularnewline} \def\FL{\toprule} @@ -46,6 +46,7 @@ \define@key{ctbl}{caption}{\def\@ctblcaption{#1}} \define@key{ctbl}{cap}{\def\@ctblcap{#1}} \define@key{ctbl}{label}{\def\@ctbllabel{#1}} +\define@key{ctbl}{continued}[(continued)]{\def\@ctblcontinued{#1}} \define@key{ctbl}{pos}{\def\@ctblpos{#1}\def\@ctblbegin{\@ctblbeg[#1]}} \define@key{ctbl}{width}{\@ctblwidth=#1} \define@key{ctbl}{maxwidth}{\@ctblmaxwidth=#1} @@ -68,10 +69,22 @@ \define@key{ctbl}{captionskip}{\@ctblcaptionskip=#1} \define@key{ctbl}{nosuper}[]{\let\@cttextsuperscript\@ctcopy} \define@key{ctbl}{notespar}[]{\def\@ctblnotespar{1}} +\long\def\@caption#1[#2]#3{% + \par + \ifx#2\empty\else\addcontentsline{\csname ext@#1\endcsname}{#1}% + {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}\fi% + \begingroup + \@parboxrestore + \if@minipage + \@setminipage + \fi + \normalsize + \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par + \endgroup} \def\@ctblCaption{ - \ifx\@ctblcap\empty\let\@ctblcap\@ctblcaption\fi + \ifx\@ctblcap\undefined\let\@ctblcap\@ctblcaption\fi \ifx\@ctblcaption\empty\else - \caption[\@ctblcap]{\label{\@ctbllabel}\@ctblcaption} + \caption[\@ctblcap]{\label{\@ctbllabel}\@ctblcaption\ \@ctblcontinued} \fi } \def\@ctblframe#1#2#3{% @@ -91,10 +104,11 @@ \newcommand{\ctable}[4][]{% \def\@ctbltaborfig{table}% \def\@ctblalign {center}% - \def\@ctblsideways {}% + \def\@ctblsideways{}% + \def\@ctblcontinued{}% \def\@ctblpos {}% \def\@ctblcaption {}% - \def\@ctblcap {}% + \let\@ctblcap\undefined% \def\@ctbllabel {}% \def\@ctblbeg {\begin{\@ctblsideways\@ctbltaborfig\@ctblstarred}}% \def\@ctblbegin {\@ctblbeg}% @@ -169,6 +183,7 @@ \@ctblw \fi \@ctblbegin + \ifx\@ctblcontinued\empty\else\ContinuedFloat\fi \begin{\@ctblalign} \begin{minipage}{\@ctblfloatwidth}\parindent0pt \ifx\@ctblbotcap\empty\@ctblCaption\vskip\@ctblcaptionskip\fi |