Skip to main content
7 events
when toggle format what by license comment
Mar 12, 2024 at 20:06 vote accept B Legrand
Mar 11, 2024 at 12:18 answer added B Legrand timeline score: 1
Mar 10, 2024 at 17:06 answer added David Carlisle timeline score: 2
Mar 10, 2024 at 16:44 comment added David Carlisle what you can do is use \pdflastypos to see on the next run of latex if the first line is at the top of the page, and if not assume a float has been inserted and choose the correct code branch
Mar 10, 2024 at 12:23 comment added David Carlisle consider \clearpage\iftopfloat{Yes}{No} after the clearpage there are no pending floats but you can not test at that point if later in the document there is a figure that floats to the top of this page.
Mar 10, 2024 at 11:12 comment added David Carlisle you can't. Floats are added way after all macros in the document body have been evaluated.
Mar 10, 2024 at 9:44 history asked B Legrand CC BY-SA 4.0