ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: natural tables and columndistance/spaceinbetween
Date: Mon, 30 Nov 2015 13:23:28 +0100	[thread overview]
Message-ID: <565C3FC0.50205@gmail.com> (raw)
In-Reply-To: <20151125184454.1375f7fd@cea.fr>


[-- Attachment #1.1: Type: text/plain, Size: 1610 bytes --]

> Alan BRASLAU <mailto:alan.braslau@cea.fr>
> 26. November 2015 um 02:44
> 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?
You can use the boffset key to set a different offset value for the 
bottom of the cell.

The correct the position of the frame at the bottom you can use metapost 
to draw
the frame as background graphic.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2794 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-11-30 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26  1:44 Alan BRASLAU
2015-11-30 12:23 ` Wolfgang Schuster [this message]
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=565C3FC0.50205@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).