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