On 4/3/2018 6:56 PM, Henning Hraban Ramm wrote:
Hello again,
this should be a simple question, but I didn’t find anything (or probably
didn’t look at the right places):
How can I setup/change the margin beside a float (image) that is placed left or
right?
\setupfloats[margin=3cm]
\placefigure[left]{}{}
\input ward \input ward
\definefloat[myleft]
\setupfloat
[myleft]
[default=left,
leftmargindistance=1cm]
\placefloat
[myleft]{}{}
\input ward \input ward
\setupfloat
[myleft]
[default=left,
margin=1cm,
leftmargindistance=1cm]
\placefloat
[myleft]{}{}
\input ward \input ward
for historical reasons margin is only set global but I'll change that to
instance related too (so that the last example works without globally
setting margin)
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________