[NTG-context] Position of image in tabulate

Hans Hagen j.hagen at xs4all.nl
Sat Sep 22 18:29:26 CEST 2018


On 9/22/2018 4:36 PM, Jan U. Hasecke wrote:
> Hi,
> 
> with the following code
> 
> \starttext
> \starttabulate[|w(.4\textwidth)|p|]
> \NC\externalfigure[cow.pdf][width=.3\textwidth]
> \NC \input ward\NC\NR
> \stoptabulate
> \stoptext
> 
> 
> the text input starts at the bottom edge of the image going further down.
> 
> I want the text to start at the top edge of the image.
\starttext
\starttabulate[|w(.4\textwidth)|p|]
\NC \sbox{\tbox{\externalfigure[cow.pdf][width=.3\textwidth]}}
\NC \input ward\NC\NR
\stoptabulate
\stoptext

tbox = topbox      (shifted)
sbox = struttedbox (a line)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list