[NTG-context] framed float with offset

2011-01-01 Thread Sanjoy Mahajan
Is there a way to have figures placed on a slightly larger colored background and then have paragraph text flow around the enlarged area? I tried the following (using ver 2009.11.26 16:28 MKII): \setupcolors[state=start] \starttext \placefigure[right,none]{}% {\externalfigure[sample/cow.pdf]%

Re: [NTG-context] framed float with offset

2011-01-01 Thread Peter Münster
Sanjoy Mahajan san...@olin.edu writes: \starttext \placefigure[right,none]{}% {\externalfigure[sample/cow.pdf]% [scale=500, frame=on, frameoffset=20pt, framecolor=black, background=color, backgroundcolor=lightgray,

Re: [NTG-context] framed float with offset

2011-01-01 Thread Sanjoy Mahajan
Peter, \placefigure[right]{This is ok!}{\framed[offset=20pt, background=color, backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}} \input knuth Ah, I had tried almost that recipe (of wrapping the \externalfigure in a \framed) but had used backgroundoffset and