summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctable
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-27 16:31:52 +0000
committerKarl Berry <karl@freefriends.org>2013-06-27 16:31:52 +0000
commitd44ded1db743bde915c9777d65bd2f695c153618 (patch)
tree7f451056beb29d59a48ee32a9d4227bf5848a1d0 /Master/texmf-dist/tex/latex/ctable
parented725d5c234420505cc81dafaf4dd600a0c4b000 (diff)
ctable (16jun13)
git-svn-id: svn://tug.org/texlive/trunk@30980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctable')
-rw-r--r--Master/texmf-dist/tex/latex/ctable/ctable.sty14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/ctable/ctable.sty b/Master/texmf-dist/tex/latex/ctable/ctable.sty
index 2434838dcbc..7aa8c10e1c9 100644
--- a/Master/texmf-dist/tex/latex/ctable/ctable.sty
+++ b/Master/texmf-dist/tex/latex/ctable/ctable.sty
@@ -22,7 +22,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ctable}
- [2013/05/24 v1.25 Easy, key=value directed, option-rich, typesetting of floats]
+ [2013/06/15 v1.26 ctable package for \
+ flexible typesetting of table and figure floats using key/value directives]
\RequirePackage{ifpdf,xcolor,xkeyval,array,tabularx,booktabs,rotating}
\ifpdf
\RequirePackage{transparent}
@@ -192,6 +193,7 @@
}
\newcommand{\tmark}[1][a]{%
\hbox{\textsuperscript{\normalfont\textit{#1}}}}
+\newdimen\@ctblcurftwidth
\newcommand{\ctable}[4][]{%
\let\@ctbltaborfig \@defaultctbltaborfig
\let\@ctblalign \@defaultctblalign
@@ -302,18 +304,18 @@
\centering{\usebox\ctbl@t} % insert the tabular
\def\@ctblfootnotes{#3}%
\ifx#3\empty\else{% append footnotes, if any
+ \@ctblcurftwidth=\ifdim\@ctblfooterwidth=-1pt\@ctblw\else
+ \ifdim\@ctblfooterwidth=0pt\hsize\else
+ \@ctblfooterwidth\fi\fi
\footnotesize
\ifx\@ctblnotespar\@ctbltrue%
\\[.2ex]
- \begin{minipage}{\hsize}%
+ \begin{minipage}{\@ctblcurftwidth}%
#3%
\end{minipage}%
\else%
\\
- \begin{tabularx}{\ifdim\@ctblfooterwidth=-1pt\@ctblw\else
- \ifdim\@ctblfooterwidth=0pt\hsize\else
- \@ctblfooterwidth\fi\fi
- }{r@{\,}>{\raggedright}X}
+ \begin{tabularx}{\@ctblcurftwidth}{r@{\,}>{\raggedright}X}
#3%
\end{tabularx}%
\fi