On Tue, Dec 21 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
>
> is it possible to place an \externalfigure "deeper" to some distance,
> shifted down, bellow the line or bellow the default position? To get:
>
> +----------+
> Aaa | A figure | bbb
> +----------+
This looks to me, like a vertically centred figure, so \vcenter{...}.
The vertical positions of Wolfgang's solutions seem to depend on the height of
the figure. Why?
Test file:
\defineframed[figureframe][frame=off,offset=overlay,location=low]
\def\TestMacro#1{\useexternalfigure[cow][cow][height=#1ex]
text \externalfigure[cow]\ text
\figureframe{\externalfigure[cow]} text \bbox{\externalfigure[cow]} text
\lowerbox{.5\strutdp}\hbox{\externalfigure[cow]} text
\vcenter{\externalfigure[cow]}\par}
\starttext
\TestMacro1
\TestMacro2
\TestMacro5
\stoptext
Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________