ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [HOWTO] spanning xtable cells
@ 2020-01-30 23:13 Floris van Manen
  2020-01-31 17:24 ` Pablo Rodriguez
  2020-02-02 15:59 ` Floris van Manen
  0 siblings, 2 replies; 5+ messages in thread
From: Floris van Manen @ 2020-01-30 23:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

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

[-- Attachment #2: Screenshot from 2020-01-31 00-11-42.png --]
[-- Type: image/png, Size: 7437 bytes --]

[-- Attachment #3: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2497 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-07 19:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 23:13 [HOWTO] spanning xtable cells Floris van Manen
2020-01-31 17:24 ` Pablo Rodriguez
2020-02-02 15:59 ` Floris van Manen
2020-02-05 13:41   ` Hans Hagen
2020-02-07 19:44   ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).