ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Distance between table rows
       [not found] <ebe2b06b-b940-469f-92ba-91bc4d3a4448@Spark>
@ 2020-03-25  9:31 ` Tim Steenvoorden
  2020-03-25 13:36   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Steenvoorden @ 2020-03-25  9:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

* Re: Distance between table rows
  2020-03-25  9:31 ` Distance between table rows Tim Steenvoorden
@ 2020-03-25 13:36   ` Wolfgang Schuster
  2020-03-25 17:13     ` Tim Steenvoorden
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-03-25 13:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Tim Steenvoorden

Tim Steenvoorden schrieb am 25.03.2020 um 10:31:
> 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?

No, the command already exists but is local to the tabulate environment 
and your custom command is just overwritten.

Wolfgang

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Distance between table rows
  2020-03-25 13:36   ` Wolfgang Schuster
@ 2020-03-25 17:13     ` Tim Steenvoorden
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Steenvoorden @ 2020-03-25 17:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster


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

Could have known that :-O

Thanks Wolfgang for pointing that out!

Cheers,
Tim
On 25 Mar 2020, 14:36 +0100, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>, wrote:
> Tim Steenvoorden schrieb am 25.03.2020 um 10:31:
> > 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?
>
> No, the command already exists but is local to the tabulate environment
> and your custom command is just overwritten.
>
> Wolfgang
>

[-- Attachment #1.2: Type: text/html, Size: 1361 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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-03-25 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ebe2b06b-b940-469f-92ba-91bc4d3a4448@Spark>
2020-03-25  9:31 ` Distance between table rows Tim Steenvoorden
2020-03-25 13:36   ` Wolfgang Schuster
2020-03-25 17:13     ` Tim Steenvoorden

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).