Height fitting with row spanning in a table
![](https://secure.gravatar.com/avatar/728f11d61a15b6777af9251e409ce379.jpg?s=120&d=mm&r=g)
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).
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Maggyero