diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html | 53 |
1 files changed, 0 insertions, 53 deletions
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 deleted file mode 100644 index ce3fa6e4b59..00000000000 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fixwidtab.html +++ /dev/null @@ -1,53 +0,0 @@ -<head> -<title>UK TeX FAQ -- question label fixwidtab</title> -</head><body> -<h3>Fixed-width tables</h3> -<p/>There are two basic techniques for making fixed-width tables in -LaTeX: you can make the gaps between the columns stretch, or you -can stretch particular cells in the table. -<p/>Basic LaTeX can make the gaps stretch: the <code>tabular*</code> -environment takes an extra argument (before the <code>clpr</code> layout one) -which takes a length specification: you can say things like “<code>15cm</code>” -or “<code>\</code><code>columnwidth</code>” here. You must also have an <code>\</code><code>extracolsep</code> -command in the <code>clpr</code> layout argument, inside an <code>@</code> -directive. So, for example, one might have -<pre> -\begin{tabular*}{\columnwidth}{@{\extracolsep{\fill}}lllr} -</pre> - -The <code>\</code><code>extracolsep</code> applies to all inter-column gaps to its right as -well; if you don’t want all gaps stretched, add -<code>\</code><code>extracolsep{0pt}</code> to cancel the original. -<p/>The <i>tabularx</i> package defines an extra <code>clpr</code> column -specification, <code>X</code>; <code>X</code> columns behave as <code>p</code> -columns which expand to fill the space available. If there’s more -than one <code>X</code> column in a table, the spare space is distributed -between them. -<p/>The <i>tabulary</i> package (by the same author) provides a way of -“balancing” the space taken by the columns of a table. The package -defines column specifications <code>C</code>, <code>L</code>, <code>R</code> and -<code>J</code>, 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 -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 -somewhere) are inevitably unreliable, and should not even be tried. -<p/>The <i>ltxtable</i> package combines the features of the -<i>longtable</i> and <i>tabularx</i> packages. It’s important -to read the documentation, since usage is distinctly odd; the -distribution contains no more than a file <i>ltxtable.tex</i>, which you -should process using LaTeX. Processing will give you a <i>.sty</i> -file as well as the <i>.dvi</i> or <i>.pdf</i> output containing the -documentation. -<dl> -<dt><tt><i>ltxtable.sty</i></tt><dd>Distributed as part of <a href="http://mirror.ctan.org/macros/latex/contrib/carlisle.zip">macros/latex/contrib/carlisle</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/carlisle/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/ltxtable.html">catalogue entry</a> -<dt><tt><i>tabularx.sty</i></tt><dd>Distributed as part of <a href="http://mirror.ctan.org/macros/latex/required/tools.zip">macros/latex/required/tools</a> (or <a href="http://mirror.ctan.org/macros/latex/required/tools/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/tabularx.html">catalogue entry</a> -<dt><tt><i>tabulary.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/tabulary.zip">macros/latex/contrib/tabulary</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/tabulary/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/tabulary.html">catalogue entry</a> -</dl> -<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixwidtab">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixwidtab</a> -</body> |