summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-varwidcol.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-varwidcol.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-varwidcol.html61
1 files changed, 0 insertions, 61 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-varwidcol.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-varwidcol.html
deleted file mode 100644
index de0f2534925..00000000000
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-varwidcol.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<head>
-<title>UK TeX FAQ -- question label varwidcol</title>
-</head><body>
-<h3>Variable-width columns in tables</h3>
-<p/>This is a slightly different take on the problem addressed in
-&#8220;<a href="FAQ-fixwidtab.html">fixed-width tables</a>&#8221; &#8212; here we have
-a column whose size we can&#8217;t absolutely predict when we design the
-document.
-<p/>While the basic techniques (the <i>tabularx</i>, <i>tabulary</i>
-and <i>ltxtable</i> packages) are the same for this problem as for the
-fixed-width <em>table</em> problem, there&#8217;s one extra tool that we can
-call to our aid, which may be preferable in some situations.
-<p/>Suppose we have data in one column which we read from an external
-source, and the source itself isn&#8217;t entirely predictable. The data in
-the column may end up pretty narrow in every row of the table, or it
-may be wide enough that the table would run over the edge of the page;
-however, we don&#8217;t want to make the column as wide as possible &#8220;just
-in case&#8221;, by defining a fixed size for the table. We would like the
-column to be as small as possible, but have the possibility to spread
-to a maximum width and (if even that width is exceeded) turn into a
-<code>p</code>-style column.
-<p/>The <i>varwidth</i> package, discussed in
-&#8220;<a href="FAQ-varwidth.html">automatic sizing of minipages</a>&#8221;, provides
-a solution. If you load it together with the LaTeX &#8220;required&#8221;
-<i>array</i> package, i.e.:
-<blockquote>
-<pre>
-\usepackage{array}
-\usepackage{varwidth}
-</pre>
-</blockquote><p>
-<i>varwidth</i> defines a new column-type &#8220;<code>V</code>&#8221;, which you
-can use as follows:
-<blockquote>
-<pre>
-\begin{tabular}{l V{3.5cm} r}
- foo & blah & bar \\
- foo & blah blah & bar \\
-\end{tabular}
-</pre>
-</blockquote><p>
-when the second column ends up less than 3.5cm wide;
-or you can use it as follows:
-<blockquote>
-<pre>
-\begin{tabular}{l V{3.5cm} r}
- foo & blah & bar \\
- foo & blah blah & bar \\
- foo & blah blah blah blah blah blah
- & bar \\
-\end{tabular}
-</pre>
-</blockquote><p>
-where the second column will end up noticeably wider, and will wrap to
-a second line in the third row.
-<dl>
-<dt><tt><i>array.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/array.html">catalogue entry</a>
-<dt><tt><i>varwidth.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/misc/varwidth.sty">macros/latex/contrib/misc/varwidth.sty</a>; <a href="http://mirror.ctan.org//help/Catalogue/entries/varwidth.html">catalogue entry</a>
-</dl>
-<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidcol">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidcol</a>
-</body>