ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen <vm@klankschap.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [HOWTO] spanning xtable cells
Date: Fri, 31 Jan 2020 00:13:58 +0100	[thread overview]
Message-ID: <c55491a6-83eb-d1cf-c466-cd4e4682d09a@klankschap.nl> (raw)

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

             reply	other threads:[~2020-01-30 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-30 23:13 Floris van Manen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c55491a6-83eb-d1cf-c466-cd4e4682d09a@klankschap.nl \
    --to=vm@klankschap.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).