![](https://secure.gravatar.com/avatar/be49110e195f5eac47c04570251121c1.jpg?s=120&d=mm&r=g)
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. Such an option might not exist and then I must program around it. But I prefer to use something that is already there and fits my needs. yours sincerely dr. Hans van der Meer
![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
On Sun, 12 Nov 2023 16:34:00 +0100
Hans van der Meer via ntg-context
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
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 11/12/2023 5:30 PM, Marco Patzer wrote:
On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context
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
This variant: \useMPlibrary [dum] \starttext foo \figuresymbol[] bar foo \figuresymbol[][height=1cm,depth=\strutdepth] bar foo \figuresymbol[][height=3ex,depth=2ex] bar \stoptext gives the lines proepr dimensions. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Hans van der Meer
-
Marco Patzer