setting the space after a figure

Hello, I want to set to space between a figure (float) and the main text. I thought this worked: \setupfloat[figure][spaceafter=2cm] but it does not, while this: \setupfloat[spaceafter=2cm] works, but -- I suppose -- it does effect every float, not just figures. Here's a MWE to test it: -------------------------------------- % the next setting is consistent with my real case \setupcaption[location=top] % this works % \setupfloat[spaceafter=2cm] % this does not work \setupfloat[figure][spaceafter=2cm] \starttext \dorecurse{3}{\samplefile{lorem}\par} \placefigure[here]{}{\framed[width=\hsize,height=5cm]{}} \dorecurse{4}{\samplefile{lorem}\par} \stoptext -------------------------------------- Massi

On 2/13/2025 12:11 PM, mf wrote:
Hello,
I want to set to space between a figure (float) and the main text.
I thought this worked:
\setupfloat[figure][spaceafter=2cm]
but it does not, while this:
\setupfloat[spaceafter=2cm]
works, but -- I suppose -- it does effect every float, not just figures.
Here's a MWE to test it:
spacing settings are for all floats (at least currently) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
mf