diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floats.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floats.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floats.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floats.html index 9f29c9791e1..5274a8d1e67 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floats.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floats.html @@ -5,33 +5,33 @@ <p/>Tables and figures have a tendency to surprise, by <em>floating</em> away from where they were specified to appear. This is in fact perfectly ordinary document design; any professional typesetting -package will float figures and tables to where they’ll fit without +package will float figures and tables to where they’ll fit without violating the certain typographic rules. Even if you use the -placement specifier <code>h</code> for ‘here’, the figure or table will not be -printed ‘here’ if doing so would break the rules; the rules themselves +placement specifier <code>h</code> for ‘here’, the figure or table will not be +printed ‘here’ if doing so would break the rules; the rules themselves are pretty simple, and are given on page 198, section C.9 of the -LaTeX manual. In the worst case, LaTeX’s rules can cause the +LaTeX manual. In the worst case, LaTeX’s rules can cause the floating items to pile up to the extent that you get an error message -saying <a href="FAQ-tmupfl.html">“Too many unprocessed floats”</a>. +saying <a href="FAQ-tmupfl.html">“Too many unprocessed floats”</a>. What follows is a simple checklist of things to do to solve these problems (the checklist talks throughout about figures, but applies -equally well to tables, or to “non-standard” floats defined by the +equally well to tables, or to “non-standard” floats defined by the <i>float</i> or other packages). <ul> <li> Do your figures need to float at all? If not, look at the - recommendations for “<a href="FAQ-figurehere.html">non-floating floats</a>” + recommendations for “<a href="FAQ-figurehere.html">non-floating floats</a>” <li> Are the placement parameters on your figures right? The default (<code>tbp</code>) is reasonable, but you can reasonably change it (for - example, to add an <code>h</code>). Whatever you do, <em>don’t</em> - omit the ‘<code>p</code>’: doing so could cause LaTeX to believe that if you - can’t have your figure <em>here</em>, you don’t want it + example, to add an <code>h</code>). Whatever you do, <em>don’t</em> + omit the ‘<code>p</code>’: doing so could cause LaTeX to believe that if you + can’t have your figure <em>here</em>, you don’t want it <em>anywhere</em>. (LaTeX does try hard to avoid being confused in - this way…) -<li> LaTeX’s own float placement parameters could be preventing - placements that seem entirely “reasonable” to you — they’re + this way…) +<li> LaTeX’s own float placement parameters could be preventing + placements that seem entirely “reasonable” to you — they’re notoriously rather conservative. To encourage LaTeX not to move your figure, you need to loosen its demands. (The most important - ones are the ratio of text to float on a given page, but it’s + ones are the ratio of text to float on a given page, but it’s sensible to have a fixed set that changes the whole lot, to meet every eventuality.) <pre> @@ -47,13 +47,13 @@ equally well to tables, or to “non-standard” floats defined by the \setcounter{dbltopnumber}{9} </pre> The meanings of these - parameters are described on pages 199–200, section C.9 of the + parameters are described on pages 199–200, section C.9 of the LaTeX manual. -<li> Are there places in your document where you could ‘naturally’ +<li> Are there places in your document where you could ‘naturally’ put a <code>\</code><code>clearpage</code> command? If so, do: the backlog of floats is cleared after a <code>\</code><code>clearpage</code>. (Note that the <code>\</code><code>chapter</code> command in the standard <i>book</i> and <i>report</i> classes - implicitly executes <code>\</code><code>clearpage</code>, so you can’t float past + implicitly executes <code>\</code><code>clearpage</code>, so you can’t float past the end of a chapter.) <li> Try the <i>placeins</i> package: it defines a <code>\</code><code>FloatBarrier</code> command beyond which floats may not pass. A @@ -69,18 +69,18 @@ equally well to tables, or to “non-standard” floats defined by the of putting <code>\</code><code>clearpage</code> <em>after</em> the current page (where it will clear the backlog, but not cause an ugly gap in your text), but also admits that the package is somewhat fragile. Use it as a last - resort if the other possibilities below don’t help. + resort if the other possibilities below don’t help. <li> If you would actually <em>like</em> great blocks of floats at the end of each of your chapters, try the <i>morefloats</i> package; - this ‘simply’ increases the number of floating inserts that LaTeX + this ‘simply’ increases the number of floating inserts that LaTeX can handle at one time (from 18 to 36). <li> If you actually <em>wanted</em> all your figures to float to the - end (<em>e.g</em>., for submitting a draft copy of a paper), don’t - rely on LaTeX’s mechanism: get the <i>endfloat</i> package to do + end (<em>e.g</em>., for submitting a draft copy of a paper), don’t + rely on LaTeX’s mechanism: get the <i>endfloat</i> package to do the job for you. </ul> <dl> -<dt><tt><i>afterpage.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse the directory</a>) +<dt><tt><i>afterpage.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/afterpage.html">catalogue entry</a> <dt><tt><i>endfloat.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/endfloat.zip">macros/latex/contrib/endfloat</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/endfloat/">browse the directory</a>) <dt><tt><i>flafter.sty</i></tt><dd>Part of the LaTeX distribution <dt><tt><i>float.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/float.zip">macros/latex/contrib/float</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/float/">browse the directory</a>) |