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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________