From 3f1971c9b7717818766692c9aa497e20e7472f2c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 7 Apr 2010 22:47:28 +0000 Subject: FAQ-en 3.19d (7apr10) git-svn-id: svn://tug.org/texlive/trunk@17742 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/generic/FAQ-en/html/FAQ-fixwidtab.html | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html') diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html index 13691993be0..f6093cf7cf3 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html @@ -7,8 +7,8 @@ LaTeX: you can make the gaps between the columns stretch, or you can stretch particular cells in the table.

Basic LaTeX can make the gaps stretch: the tabular* environment takes an extra argument (before the clpr layout one) -which takes a length specification: you can say things like “15cm” -or “\columnwidth” here. You must also have an \extracolsep +which takes a length specification: you can say things like “15cm” +or “\columnwidth” here. You must also have an \extracolsep command in the clpr layout argument, inside an @ directive. So, for example, one might have

@@ -16,37 +16,37 @@ directive.  So, for example, one might have
 
The \extracolsep applies to all inter-column gaps to its right as -well; if you don’t want all gaps stretched, add +well; if you don’t want all gaps stretched, add \extracolsep{0pt} to cancel the original.

The tabularx package defines an extra clpr column specification, X; X columns behave as p -columns which expand to fill the space available. If there’s more +columns which expand to fill the space available. If there’s more than one X column in a table, the spare space is distributed between them.

The tabulary package (by the same author) provides a way of -“balancing” the space taken by the columns of a table. The package +“balancing” the space taken by the columns of a table. The package defines column specifications C, L, R and J, giving, respectively, centred, left, right and fully-justified versions of space-sharing columns. The package -examines how long each column would be “naturally” (i.e., on a piece of paper of unlimited width), and -allocates space to each column accordingly. There are “sanity -checks” so that really large entries don’t cause everything else to -collapse into nothingness (there’s a “maximum width” that any column -can exert), and so that tiny entries can’t get smaller than a +examines how long each column would be “naturally” (i.e., on a piece of paper of unlimited width), and +allocates space to each column accordingly. There are “sanity +checks” so that really large entries don’t cause everything else to +collapse into nothingness (there’s a “maximum width” that any column +can exert), and so that tiny entries can’t get smaller than a specified minimum. Of course, all this work means that the package has to typeset each row several times, so things that leave -“side-effects” (for example, a counter used to produce a row-number +“side-effects” (for example, a counter used to produce a row-number somewhere) are inevitably unreliable, and should not even be tried.

The ltxtable package combines the features of the -longtable and tabularx packages. It’s important +longtable and tabularx packages. It’s important to read the documentation, since usage is distinctly odd; the distribution contains no more than a file ltxtable.tex, which you should process using LaTeX. Processing will give you a .sty file as well as the .dvi or .pdf output containing the documentation.

-
ltxtable.sty
Distributed as part of macros/latex/contrib/carlisle (or browse the directory) -
tabularx.sty
Distributed as part of macros/latex/required/tools (or browse the directory) +
ltxtable.sty
Distributed as part of macros/latex/contrib/carlisle (or browse the directory); catalogue entry +
tabularx.sty
Distributed as part of macros/latex/required/tools (or browse the directory); catalogue entry
tabulary.sty
macros/latex/contrib/tabulary (or browse the directory)

This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixwidtab -- cgit v1.2.3