Provide commands with the flafter
functionality
#1354
Labels
category base (latex)
enhancement
long-term
issues (or enhancements) that will not be resolved any time soon but should be considered eventually
Brief outline of the enhancement
LaTeX provides the
flafter
package, which prevents floats from being placed before their call-out. As this is implemented as a package, this feature cannot be activated for just parts of a document, as it cannot be deactivated or reactivated later.As far as I understand, the
flafter
package only changes a single line in\@addtocurcol
(from\@addtotoporbot
to\@addtobot
):Would it be possible to provide two commands that switch on and switch off the restriction to place floats after thier call-out?
You could e. g. change the definition of
\@addtocurcol
like thisand provide two commands that execute
\let\@addtocurcol@action\@addtotoporbot
and\let\@addtocurcol@action\@addtobot
. (Theflafter
package could of course still be provided, it would then only have to execute the latter command.)Minimal example showing the desired new behaviour
The text was updated successfully, but these errors were encountered: