TransWikia.com

Is there some flexible "flush floats" recommendation command (similar to pagebreak[priority])?

TeX - LaTeX Asked by U. Windl on January 18, 2021

Two questions on one subject:

  1. Is there a command (in the standard packages) to suggest flushing floats after that point with some “priority” value ranging from “suggest” to “force” (similar to pagebreak[priority])?
  2. Do the default LaTeX sectioning commands add such commands (so that floats tend less to accumulate across sections, subsections, etc.)?
    Only chapters seem to flush floats.

One Answer

The default code in latex can only flush code at a page break and in the standard classes only chapter executes a clearpage.

It isn't clear how you see a priority working, you could add a pagebreak[2] to (say) section level headings and then, if the page break is taken, any pending floats would be considered.

Answered by David Carlisle on January 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP