From: Alan BRASLAU <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: natural tables and columndistance/spaceinbetween
Date: Wed, 25 Nov 2015 18:44:54 -0700 [thread overview]
Message-ID: <20151125184454.1375f7fd@cea.fr> (raw)
In natural tables
http://wiki.contextgarden.net/TABLE
the parameters
columndistance=dimension,
and
spaceinbetween=dimension,
will set the gaps between columns and rows, respectively.
Is there some way of specifying row gaps for specific rows?
For example, say that I only want a gap after the first row.
I tried:
\bTABLE
\bTR [spaceinbetween=.25em]
\bTD 1 \eTD
\bTD 2 \eTD
\eTR
\bTR
\bTD A \eTD
\bTD B \eTD
\eTR
\bTR
\bTD a \eTD
\bTD b \eTD
\eTR
\eTABLE
Alternately, I tried
\setupTABLE [r][1][spaceinbetween=.25em]
but these do not work.
One might think about trying
\bTR [bottomframe=on,framecolor=white,rulethickness=.25em]
...
\eTR
but this presents several problems:
1) When using background=color, the background color gives a hairline
overflow beyond the rule, at least using the pdf viewers that I have on
my computer.
2) there appears to be some interference between setting rulethickness
and columndistance, so that spaces between columns disappear when
putting a thick bottomframe. Of course, one could kludge a column
separation using a rightframe, but this is not satisfactory.
3) The use of a white rule when one really wants to leave some space is
not very satisfying.
Does anyone have any suggestions?
Thanks
Alan
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2015-11-26 1:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 1:44 Alan BRASLAU [this message]
2015-11-30 12:23 ` Wolfgang Schuster
2015-12-02 16:25 ` Alan BRASLAU
2015-12-02 16:39 ` Wolfgang Schuster
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=20151125184454.1375f7fd@cea.fr \
--to=alan.braslau@cea.fr \
--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).