ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* table and tabulate "negative" extra spacing
@ 2018-05-21 19:16 Alan Braslau
  2018-05-21 19:47 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Braslau @ 2018-05-21 19:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

In \starttable and \starttabulate, one can add extra blank space
between rows using \TB[...].

Is there some way to add "negative" spacing, that is to tighten or
reduce the spacing between any two rows?

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://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: table and tabulate "negative" extra spacing
  2018-05-21 19:16 table and tabulate "negative" extra spacing Alan Braslau
@ 2018-05-21 19:47 ` Aditya Mahajan
  2018-05-21 20:17   ` Alan Braslau
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2018-05-21 19:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 21 May 2018, Alan Braslau wrote:

> Hello,
>
> In \starttable and \starttabulate, one can add extra blank space
> between rows using \TB[...].
>
> Is there some way to add "negative" spacing, that is to tighten or
> reduce the spacing between any two rows?

Just use negative space:

\TB[-line]

or

\TB[-3cm]

Aditya
___________________________________________________________________________________
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: table and tabulate "negative" extra spacing
  2018-05-21 19:47 ` Aditya Mahajan
@ 2018-05-21 20:17   ` Alan Braslau
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Braslau @ 2018-05-21 20:17 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users

On Mon, 21 May 2018 15:47:41 -0400 (EDT)
Aditya Mahajan <adityam@umich.edu> wrote:

> On Mon, 21 May 2018, Alan Braslau wrote:
> 
> > Hello,
> >
> > In \starttable and \starttabulate, one can add extra blank space
> > between rows using \TB[...].
> >
> > Is there some way to add "negative" spacing, that is to tighten or
> > reduce the spacing between any two rows?  
> 
> Just use negative space:
> 
> \TB[-line]
> 
> or
> 
> \TB[-3cm]
> 
> Aditya

Interesting, this (obvious) feature works in the MWE below, but is
without effect in my real use case. I'll have to investigate...

Alan


\starttext

\startplacetable
\starttable [|c|c|]
\NC 1 \VL first row \AR
\TB[-1cm]
\NC 2 \VL second row \AR
\stoptable
\stopplacetable

\blank [5cm]

\startplacetable
\starttabulate [|c|c|]
\NC 1 \VL first row \NC\NR
\TB[-1cm]
\NC 2 \VL second row \NC\NR
\stoptabulate
\stopplacetable

\stoptext
___________________________________________________________________________________
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:[~2018-05-21 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21 19:16 table and tabulate "negative" extra spacing Alan Braslau
2018-05-21 19:47 ` Aditya Mahajan
2018-05-21 20:17   ` Alan Braslau

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