[NTG-context] Height fitting with row spanning in a table

Hans Hagen pragma at wxs.nl
Tue Jul 15 23:40:41 CEST 2014


On 7/15/2014 1:59 PM, Maggyero wrote:
> I have finally found a not perfect solution: setting manually the height
> of the bar cell shrinks the foo cell (setting height=fit for the foo
> cell does not work).
>
>
> \starttext
>
> \startTABLE
>      \NC foo                 \NC[nr=2] \input knuth  \NC \NR
>      \NC[height=28ex] bar    \NC                         \NR
> \stopTABLE
>
> \stoptext
>
>
> I have chosen 28ex for the height since linespace in ConTeXt equals to
> 2.8ex and I need the height of 10 lines in this example to fit the knuth
> paragraph (if I could find a way to get automatically the number of
> lines required to fit the knuth paragraph it would be better).

i'll have a look at it later (maybe in xtables)


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


More information about the ntg-context mailing list