Force bottom float to be at the bottom
Hi, I'm defining a bottomfigure with default=bottom, but it does not always seem to work (example below). If the float does not fit on the page, it appears instead in the top of the next page. Can I force it to be in the bottom of the next page? That is, can I setup a float that is always at the bottom of the page? I hope what I ask makes sense. /Mikael \useMPlibrary[dum] \definefloat[bottomfigure][bottomfigures][figure] \setupfloat[bottomfigure][default=bottom] \starttext \dorecurse{4}{\samplefile{knuth}} \startplacebottomfigure \externalfigure[dummy][width=\textwidth] \stopplacebottomfigure \samplefile{knuth} \stoptext
Am 07.09.2020 um 14:08 schrieb Mikael Sundqvist
: I'm defining a bottomfigure with default=bottom, but it does not always seem to work (example below). If the float does not fit on the page, it appears instead in the top of the next page. Can I force it to be in the bottom of the next page? That is, can I setup a float that is always at the bottom of the page? I hope what I ask makes sense.
AFAIK location=bottom is always unreliable, it’s a known limitation and you can’t change that. Do you need it as a float (with caption and all)? Otherwise you could try absolute placement with a layer. Hraban
Den lör 12 sep. 2020 22:04Henning Hraban Ramm
Am 07.09.2020 um 14:08 schrieb Mikael Sundqvist
: I'm defining a bottomfigure with default=bottom, but it does not always seem to work (example below). If the float does not fit on the page, it appears instead in the top of the next page. Can I force it to be in the bottom of the next page? That is, can I setup a float that is always at the bottom of the page? I hope what I ask makes sense.
AFAIK location=bottom is always unreliable, it’s a known limitation and you can’t change that.
Do you need it as a float (with caption and all)? Otherwise you could try absolute placement with a layer.
Hraban
Thank you for your mail, Hraban! It is good to know that the bottom key might be unreliable. I wanted to be able to put floats in bottom, with (unnumbered) captions on top in margin. A bit dual to the mail I sent to the list about topfigures with captions in the margin. As you say, maybe using layers is the best way to obtain what I want. I'm not sure, though, how to place a figure in a layer at the bottom and to prohibit text to go there. /Mikael
participants (2)
-
Henning Hraban Ramm
-
Mikael Sundqvist