30 Mar
2015
30 Mar
'15
12:15 p.m.
Am 30.03.2015 um 08:41 schrieb Mari Voipio
: On Tue, Mar 24, 2015 at 1:41 PM, Wolfgang Schuster
wrote: You can use the \tbox command for the alignment of the graphic.
\setuplayout[backspace=4cm,width=14cm]
\starttext
\inmargin{\tbox{\externalfigure[warning][width=\leftmarginwidth]}} \input tufte
\stoptext
This is much better, and quite a bit cleaner, too. Thank you Wolfgang!
When you have more graphics in the margin you create a new inmargin command which always uses the \tbox command for the image. \setuplayout[backspace=4cm,width=14cm] \definemargindata[marginfigure][inmargin] \setupmargindata [marginfigure][command=\tbox] \starttext \marginfigure{\externalfigure[warning][width=\leftmarginwidth]} \input tufte \stoptext Wolfgang