diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
commit | c7cfef6687f65c2538898ddd7c6bc9c9ba50e58d (patch) | |
tree | 8f4de70d1a11463779871162ba84c1dbc874155b /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html | |
parent | 8948a31a6e2ac27883f7adac1b339003961ba43f (diff) |
uk-tex-faq 3.17 (7nov07)
git-svn-id: svn://tug.org/texlive/trunk@5977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html index 2ea18c72591..e07dcc94418 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-varwidth.html @@ -2,12 +2,12 @@ <title>UK TeX FAQ -- question label varwidth</title> </head><body> <h3>Automatic sizing of <code>minipage</code></h3> -<p>The <code>minipage</code> environment requires you to specify the +<p/>The <code>minipage</code> environment requires you to specify the width of the “page” you’re going to create. This is sometimes inconvenient: you would like to occupy less space, if possible, but <code>minipage</code> sets a box that is exactly the width you specified. -<p>The <i>pbox</i> package defines a <code>\</code><code>pbox</code> whose width is exactly +<p/>The <i>pbox</i> package defines a <code>\</code><code>pbox</code> whose width is exactly that of the longest enclosed line, subject to a maximum width that you give it. So while <code>\</code><code>parbox{2cm}{Hello\\world!}</code> produces a box of width exactly <code>2cm</code>, @@ -18,7 +18,7 @@ text, at least). The package also provides a like the standard <code>\</code><code>settowidth</code> command), and a <code>\</code><code>widthofpbox</code> function analagous to the <code>\</code><code>widthof</code> command for use with the <i>calc</i> package. -<p>The <i>eqparbox</i> package extends <i>pbox</i>’s idea, by +<p/>The <i>eqparbox</i> package extends <i>pbox</i>’s idea, by allowing you to set a series of boxes, all with the same (minimised) width. (Note that it doesn’t accept a limiting maximum width parameter.) The package documentation shows the following example @@ -48,7 +48,7 @@ may be used to produce sensible-looking columns that mix <code>c</code>-, entry, by making the fixed-width rows an <i>eqparbox</i> group, and making the last from a <code>\</code><code>parbox</code> using the width that’s been measured for the group. -<p>The <i>varwidth</i> package defines a <code>varwidth</code> +<p/>The <i>varwidth</i> package defines a <code>varwidth</code> environment which sets the content of the box to match a “narrower natural width” if it finds one. (You give it the same parameters as you would give <code>minipage</code>: in effect, it is a ‘drop-in’ @@ -57,7 +57,7 @@ replacement.) <i>Varwidth</i> provides its own ragged text command: text in the last line of the paragraph (thus producing lines with more nearly equal lengths than typically happens with <code>\</code><code>raggedright</code> itself). -<p>The documentation (in the package file) lists various restrictions and +<p/>The documentation (in the package file) lists various restrictions and things still to be done, but the package is already proving useful for a variety of jobs. <dl> @@ -65,6 +65,6 @@ a variety of jobs. <dt><tt><i>pbox.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/pbox.zip">macros/latex/contrib/pbox</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/pbox.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/pbox/">browse</a>) <dt><tt><i>varwidth.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/misc/varwidth.sty">macros/latex/contrib/misc/varwidth.sty</a> </dl> -<p> -<p><p><p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidth">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidth</a> +<p/> +<p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidth">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidth</a> </body> |