Henning Hraban Ramm schrieb am 25.09.2019 um 21:37:
The following works, except: - There’s too much space (2 lines?) within the frame before the poem.
Use the framedtext environment.
- I’d like to insert some space below the float, spaceafter doesn’t work.
You nee sidespacebefore/after but you can only set it for *all* floats.
\definefloat [poem] % \setupfloat % [sidespacebefore=medium] \setupfloat [poem] [background=color, backgroundcolor=cyan] \setupcaption [poem] [number=none] \starttext \dorecurse{2}{\samplefile{knuth}} \startplacefloat [poem] [location=left] \startframedtext [frame=off,width=fit,offset=0.25ex] \startlines [style=mono] lichtung manche meinen lechts und rinks kann man nicht velwechsern. werch ein illtum! \wordright{ernst jandl} \stoplines \stopframedtext \stopplacefloat \dorecurse{2}{\samplefile{knuth}} \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________