> Am 30.03.2015 um 08:41 schrieb Mari Voipio <mari.voi...@iki.fi>: > > On Tue, Mar 24, 2015 at 1:41 PM, Wolfgang Schuster > <schuster.wolfg...@gmail.com> 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________