ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tim Steenvoorden <tim.steenvoorden@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Distance between table rows
Date: Wed, 25 Mar 2020 10:31:56 +0100	[thread overview]
Message-ID: <c2603d05-75e9-4d4d-827d-494db8f5ad7e@Spark> (raw)
In-Reply-To: <ebe2b06b-b940-469f-92ba-91bc4d3a4448@Spark>


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

Hi all,

Trying to make my life a bit easier to add distances between tabulate rows. Found the \TB macro on the wiki. But why does below code _not_ add extra space when using the freshly defined \SR command below. So between the _second_ and _third_ row? Some TeX expansion thing going on here?

```
\define\SR
  {\NC\NR\TB[halfline]}

\starttabulate[|r|l|]
  \NC one   \NC two   \NC\NR
  \NC two   \NC three \SR
  \NC four  \NC five  \NC\NR
  \TB[halfline]
  \NC five  \NC six \NC\NR
\stoptabulate
```

Cheers,
Tim

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

[-- Attachment #2: 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-03-25  9:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ebe2b06b-b940-469f-92ba-91bc4d3a4448@Spark>
2020-03-25  9:31 ` Tim Steenvoorden [this message]
2020-03-25 13:36   ` Wolfgang Schuster
2020-03-25 17:13     ` Tim Steenvoorden

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=c2603d05-75e9-4d4d-827d-494db8f5ad7e@Spark \
    --to=tim.steenvoorden@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).