On Thu, 2 Jul 2020 17:20:07 +0200
Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
Try:
> \useMPlibrary[dum]
>
> \setuppapersize[A4]
>
> \setuplayout
> [width=12cm,
> rightmargin=5cm]
>
> \definemargindata[marginfigure][inright]
> \setupmargindata [marginfigure][command=\vbox,align=middle]
\setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
> \startsetups [userdata:margintext]
> \margindata
> [inright]
> [%style=\smallbodyfont,
> style={\switchtobodyfont[9pt]},
> width=\rightmarginwidth,
stack=yes,
> align={flushleft,broad}]
> {{\bf Remarque — }\getinlineuserdata}
> \stopsetups
> \marginfigure{\externalfigure[dummy][width=\rightmarginwidth]}
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=high]}
Marco
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________