Does anyone knows a hint to get the stacked boxes to the correct size? When usinig non-zero values for the options spaceinbetween and/or columndistance the cells of the xtable will not properly size when spanning over rows and/or columns. e.g. \starttext \startxtable[spaceinbetween=2mm, columndistance=2mm, corner=round] \startxtablebody \startxrow \startxcell[ny=3] a1 \stopxcell \startxcell[nx=2] a2/3 \stopxcell \startxcell[ny=3] a4 \stopxcell \stopxrow \startxrow \startxcell b2 \stopxcell \startxcell b3 \stopxcell \stopxrow \startxrow \startxcell c2 \stopxcell \startxcell c3 \stopxcell \stopxrow \startxrow \startxcell[nx=3] d1/2/3 \stopxcell \startxcell d4 \stopxcell \stopxrow \startxrow \startxcell e1 \stopxcell \startxcell e2 \stopxcell \startxcell e3 \stopxcell \startxcell e4 \stopxcell \stopxrow \stopxtablebody \stopxtable \stoptext
On 1/31/20 12:13 AM, Floris van Manen wrote:
Does anyone knows a hint to get the stacked boxes to the correct size? [...] \startxtable[spaceinbetween=2mm, columndistance=2mm, corner=round] \startxtablebody \startxrow \startxcell[ny=3] a1 \stopxcell \startxcell[nx=2] a2/3 \stopxcell \startxcell[ny=3] a4 \stopxcell
Hi Floris, I think you might be hitting a bug. From your sample, it seems that (columndistance * (nx - 1)) or (spaceinbetween * (ny - 1)) aren’t added to the cell width or height. But Hans knows better than myself what may be missing there. Just in case it helps, Pablo -- http://www.ousia.tk
Can someone (please) help me out to fix the incorrect/unintended stacking of cells within the xtable? .Floris On 31-01-2020 00:13, Floris van Manen wrote:
Does anyone knows a hint to get the stacked boxes to the correct size? When usinig non-zero values for the options spaceinbetween and/or columndistance the cells of the xtable will not properly size when spanning over rows and/or columns.
e.g.
\starttext
\startxtable[spaceinbetween=2mm, columndistance=2mm, corner=round] \startxtablebody \startxrow \startxcell[ny=3] a1 \stopxcell \startxcell[nx=2] a2/3 \stopxcell \startxcell[ny=3] a4 \stopxcell \stopxrow \startxrow \startxcell b2 \stopxcell \startxcell b3 \stopxcell \stopxrow \startxrow \startxcell c2 \stopxcell \startxcell c3 \stopxcell \stopxrow \startxrow \startxcell[nx=3] d1/2/3 \stopxcell \startxcell d4 \stopxcell \stopxrow \startxrow \startxcell e1 \stopxcell \startxcell e2 \stopxcell \startxcell e3 \stopxcell \startxcell e4 \stopxcell \stopxrow \stopxtablebody \stopxtable
\stoptext
Screenshot from 2020-01-31 00-11-42.png
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 2/2/2020 4:59 PM, Floris van Manen wrote:
Can someone (please) help me out to fix the incorrect/unintended stacking of cells within the xtable? i'll look into it.
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 2/2/20 4:59 PM, Floris van Manen wrote:
Can someone (please) help me out to fix the incorrect/unintended stacking of cells within the xtable?
Just for the record. The issue has been fixed in latest LMTX version (from 2020.02.07 18:36). Pablo -- http://www.ousia.tk
participants (3)
-
Floris van Manen
-
Hans Hagen
-
Pablo Rodriguez