Debian Codegraph @

texmf-dist/doc/latex/placeins/placeins.txt

raw
1
2 p l a c e i n s . s t y ver 2.2 April 18, 2005
3 Donald Arseneau [email protected]
4
5
6 Placeins.sty keeps floats `in their place', preventing them from floating
7 past a "\FloatBarrier" command into another section. To use it, declare
8 "\usepackage{placeins}" and insert "\FloatBarrier" at places that floats
9 should not move past, perhaps at every "\section".
10
11 Option: [section]
12
13 A more convenient way to stop floats at section boundaries is to change
14 the definition of "\section" to include "\FloatBarrier", either at the
15 beginning, before "\@startsection", or in the `style' specification (see
16 The LaTeX Companion, section 2.2.2; or 2.3 in the 1st ed). If you specify
17 "\usepackage[section]{placeins}", then the "\section" command will be
18 redefined with "\FloatBarrier" inserted at the beginning.
19
20 Options: [above] [below]
21
22 Something you may not like is that, by default, "\FloatBarrier" is very
23 strict, and will (try to) prevent a float from appearing above the start
24 of the current section or below the start of the next section, even
25 though the float is still on the same page as its intended section.
26 Each restriction can be relaxed separately by using the "[above]" and
27 "[below]" package options: "[above]" allows floats to appear above their
28 section, if on the same page; "[below]" allows below.
29
30 NOTE! The original version of placeins.sty acted like it was loaded
31 with the option "[above]" specified.
32
33 There is a problem with LaTeX's "\suppressfloats" being out of step with
34 the page breaking (see usenet msg <[email protected]> and thread)
35 which sometimes allows a float to go above a "\FloatBarrier" placed near
36 the top of a page. Maybe placeins will fix it sometime later.
37
38 Option: [verbose]
39
40 There is a package option "[verbose]" that causes many messages to be
41 written in the log file. It might be used to answer the question:
42 `How did *that* get *there*?!?'
43