Hi,

I have narrow margin floats and wide floats that protrude into the
margin. Currently they overlap with the narrow figures. How to avoid
this?

\useMPlibrary [dum]

\definefloat
  [marginfigure] [marginfigures]
  [figure]

\setupfloat
  [marginfigure]
  [default=margin]

\definefloat
  [widefigure] [widefigures]
  [figure]

\setupfloat
  [widefigure]
  [location=left]

\starttext
  \dorecurse{5}{%%
    \startplacemarginfigure
      \externalfigure [dum] [width=\rightmarginwidth, height=2cm]
    \stopplacemarginfigure}

  \startplacewidefigure
    \externalfigure [dum] [width=\dimexpr\textwidth+\rightmargintotal\relax, 
height=3cm]
  \stopplacewidefigure
\stoptext


Marco

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to