summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ctable/06
blob: 32d486689fc072fb228671f7d1d124249254bb06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

You can set |mincapwidth| to a large value, say |\hsize|, if you want a one-line
caption. Note, however, that this may influence the horizontal positioning of
the table: values larger than |\hsize| will move a centered table out of the
center, a value of |\hsize| will prevent the |left| and |right| options to do
their work, because the table is already captured between the left and right
margins.

\subsection{\ttfamily\bfseries maxwidth}
When \LaTeX-sources containing tables are generated automatically by a
script, it is often not known in advance what the maximum size of an |l|
column will be. A good solution for this is to use an |X| specifier,
typesetting the table at the text width with the tabularx package.
However, this will result in too much white space in cases where the
column contains small texts only. This problem can be solved by using
the maxwidth option instead of the width option. The |X| specifiers will
then be replaced with |l| as long as the width of the resulting table
stays with the specified maximum width.

$Id: 06,v 1.1 2007/07/22 15:30:56 wybo Exp $