On Sun, 12 Nov 2023 16:34:00 +0100
Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:

> In placing \externalfigure[file] I observe the figure is placed with
> its bottom on the baseline, thus:
> 
>     [externalfigure]
> --------------------------- baseline
> 
> I looked into the option list of setupexternalfigure but could not
> find one whereby the location with respect to the baseline is either
> top, bottom or center.

Maybe this is what you're looking for:

\useMPlibrary [dum]
\setuplayout  [grid=yes]
\showgrid

\starttext
  foo \externalfigure[][][location=high]   bar \blank [5*line]
  foo \externalfigure[][][location=middle] bar \blank [5*line]
  foo \externalfigure[][][location=low]    bar
\stoptext

Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to