1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<head>
<title>UK TeX FAQ -- question label 2colfltorder</title>
</head><body>
<h3>Two-column float numbers out of order</h3>
<p/>When LaTeX can’t place a float immediately, it places it on one of
several “defer” lists. If another float of the same type comes
along, and the “defer” list for that type still has something in it,
the later float has to wait for everything earlier in the list.
<p/>Now, standard LaTeX has different lists for single-column floats,
and double-column floats; this means that single-column figures can
overtake double-column figures (or vice-versa), and you observe later
figures appear in the document before early ones. The same is true,
of course, for tables, or for any user-defined float.
<p/>The LaTeX team recognise the problem, and provides a package
(<i>fixltx2e</i>) to deal with it. <i>Fixltx2e</i> amalgamates
the two defer lists, so that floats don’t get out of order.
<p/>For those who are still running an older LaTeX distribution, the
package <i>fix2col</i> should serve. This package (also by a
member of the LaTeX team) was the basis of the relevant part of
<i>fixltx2e</i>. The functionality has also been included in
<i>dblfloatfix</i>, which also has code to place full-width floats
at <a href="FAQ-2colfloat.html"><code>[b]</code> placement</a>.
<p/>Once you have loaded the package, no more remains to be done: the
whole requirement is to patch the output routine; no extra commands
are needed.
<dl>
<dt><tt><i>dblfloatfix.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/misc/dblfloatfix.sty">macros/latex/contrib/misc/dblfloatfix.sty</a>
<dt><tt><i>fix2col.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/carlisle.zip">macros/latex/contrib/carlisle</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/carlisle.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/carlisle/">browse</a>)
<dt><tt><i>fixltx2e.sty</i></tt><dd>Part of the LaTeX distribution
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=2colfltorder">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=2colfltorder</a>
</body>
|