Hi Kavian, Okay, but I do not understand why the top of the framed can not be on the baseline of the letter A. Fabrice 2016-07-16 11:28 GMT+02:00 Otared Kavian : > Hi Fabrice, > > Indeed you can place your float a little bit higher in th emargin, as in > the example below, by using the keyword « high ». > > Best regrads: Otared K. > % begin fabrice-inmargin.tex > \setuplayout > [width=13cm, > rightmargin=5cm] > > \setupbodyfont[pagella,11pt] > > \definefloat > [recipe] > [figure] > > \setupfloat > [recipe] > [default={rightmargin,none,high}] > > \setupframed > [frame=on, > width=\rightmarginwidth, > align=justify, > offset=2pt, > location=low, > rulethickness=1pt, > framecolor=darkred, > corner=00] > > \showgrid > \showframe > > \starttext > > A\\ B \\ C > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}} > > \input ward.tex > > \setupfloat > [recipe] > [default={rightmargin,none,low}] > > A\\ B \\ C > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}} > > \stoptext > % end fabrice-inmargin.tex > > > On 16 Jul 2016, at 00:44, Fabrice Couvreur > wrote: > > > > Hi Kavian (your first name ?) > > Thank you for your suggestion but it is still a little problem: why the > baseline of the framed is the thirdA and not the first ? > > thank you, > > Fabrice > > > > \useMPlibrary [dum] > > > > \setuplayout > > [width=13cm, > > rightmargin=5cm] > > > > > > \setupbodyfont[pagella,11pt] > > > > \definefloat > > [recipe] > > [figure] > > > > \setupfloat > > [recipe] > > [default={rightmargin,none}] > > > > \setupframed > > [frame=on, > > width=\rightmarginwidth, > > align=justify, > > offset=2pt, > > location=low, > > rulethickness=1pt, > > framecolor=darkred, > > corner=00] > > > > \starttext > > > > \showframe > > > > > > A\\A\\A > > \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}} > > > > > > > > \stoptext > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ >