Hi Fabrice, You can give an option to \framed, as in:
\placerecipe{}{\framed[align=justify,offset=2pt]{La vie n'est pas un long fleuve tranquille !}} You may also (in the above example) replace « fleuve » by « fleu||ve » in order to get a hyphenation. Best regards: OK > On 15 Jul 2016, at 16:19, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > Hi Wolfgang, > Thank you. Now I want the figures or boxes with text are automatically placed > in the right margin. Is this the best way ? > How have justified text in the boxes ? > 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=flushleft, > location=low, > rulethickness=1pt, > framecolor=blue, > corner=00] > > \starttext > > \showframe > > \placerecipe{}{\externalfigure [dummy] [width=\rightmarginwidth]} > > \placerecipe{}{\framed{La vie n'est pas un long fleuve tranquille !}} > > \stoptext > ####################################################### > > > 2016-07-15 13:26 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> Fabrice Couvreur 15. Juli 2016 um 13:17 >> >> Hello everyone, >> The document >> https://drive.google.com/file/d/0B-mkD83s36jbREZmbGdPaGVHUDg/view?usp=sharing >> shows what I would do at the place reserved for the text and that reserved >> for comments, ratings ... >> Must use two columns or predefine the dimensions of the paper ? > Change the layout of the page, the blue boxes are margin texts. > > \setuplayout > [width=13cm, > rightmargin=5cm] > > \showframe > > \starttext > \page[dummy] > \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 > ___________________________________________________________________________________ > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________