![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hello,
Thank you for your suggestions.
Fabrice
Le dim. 26 août 2018 à 15:19, Aditya Mahajan
On Sun, 26 Aug 2018, Wolfgang Schuster wrote:
The normal alignment of figures is with the bottom of the figure on the baseline.
You can control the vertical alignment with a few box commands but what you should use depends on the context, in tables I would use 2 while in running text 3 can be better. Which alignment you’re using is your choice.
\useMPlibrary[dum]
\defineexternalfigure[dummy][width=4cm,height=3cm]
\setuplayout[grid=yes]
\showgrid
\starttext
Default: \externalfigure[dummy]
%1: \bottomrightbox{\externalfigure[dummy]}\quad 1: \aligned[bottom,right]{\externalfigure[dummy]}\quad 2: \tbox{\externalfigure[dummy]}\quad 3: \bbox{\externalfigure[dummy]}
\stoptext
Another option is to use the `location` key for `\externalfigure`:
\useMPlibrary[dum] \defineexternalfigure[dummy][width=4cm,height=3cm] \setuplayout[grid=yes]
\showgrid
\starttext
Default: \externalfigure[dummy]
1: \externalfigure[dummy][location=top]\quad 2: \tbox{\externalfigure[dummy]}
\stoptext
Aditya___________________________________________________________________________________ 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
___________________________________________________________________________________