Edit Links |
FAQ /
PlaceinsStyDocPlease categorize this page. << | Page list | >>Documentation copied from placeins.styPlaceins.sty keeps floats `in their place', preventing them from floating past a "\FloatBarrier" command into another section. To use it, declare "\usepackage{placeins}" or "\documentstyle[placeins...", and insert "\FloatBarrier" at places that floats should not move past, perhaps before every "\section". A more convenient way to use it is to change the definition of "\section" by placing "\FloatBarrier" before "\@startsection" or into the font specification; for example: % \makeatletter % Use \makeatletter if you put this in your main document \renewcommand\section{\@startsection {section}{1}{\z@}% {-3.5ex \@plus -1ex \@minus -.2ex}% {2.3ex \@plus.2ex}% {\FloatBarrier\normalfont\Large\bfseries}} % \makeatother % Use \makeatother if you put this in your main document (See The LaTeX Companion, section 2.3.) If you specify "\usepackage[section]{placeins}", then "\section" will be redefined with \Floatbarrier" inserted at the beginning. Something you may not like is that this style is very strict, and will prevent a figure from an old section from appearing below the start of a new section, even though some of the old section may be on the same page. To let the new section start immediately, and the figure to go below it, declare "\usepackage[below]{placeins}". << | FAQ.PageList | >> |