diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/ctable/06')
-rw-r--r-- | Master/texmf-dist/doc/latex/ctable/06 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ctable/06 b/Master/texmf-dist/doc/latex/ctable/06 new file mode 100644 index 00000000000..32d486689fc --- /dev/null +++ b/Master/texmf-dist/doc/latex/ctable/06 @@ -0,0 +1,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 $ |