* [NTG-context] Reduce space between lines in Natural Tables
@ 2023-09-10 20:05 Jeroen
2023-09-11 7:05 ` [NTG-context] " denis.maier
2023-09-11 8:00 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Jeroen @ 2023-09-10 20:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 133 bytes --]
Is there an easy way to reduce the line space between rows in a natural
table so the table takes less vertical space.
Thanks, Jeroen
[-- Attachment #1.2: Type: text/html, Size: 164 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Reduce space between lines in Natural Tables
2023-09-10 20:05 [NTG-context] Reduce space between lines in Natural Tables Jeroen
@ 2023-09-11 7:05 ` denis.maier
2023-09-12 11:00 ` Jeroen
2023-09-11 8:00 ` Wolfgang Schuster
1 sibling, 1 reply; 4+ messages in thread
From: denis.maier @ 2023-09-11 7:05 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 395 bytes --]
\bTABLE[spaceinbetween=0cm]
...
\eTABLE
Von: Jeroen <contextntg@gmail.com>
Gesendet: Sonntag, 10. September 2023 22:05
An: mailing list for ConTeXt users <ntg-context@ntg.nl>
Betreff: [NTG-context] Reduce space between lines in Natural Tables
Is there an easy way to reduce the line space between rows in a natural table so the table takes less vertical space.
Thanks, Jeroen
[-- Attachment #1.2: Type: text/html, Size: 2834 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Reduce space between lines in Natural Tables
2023-09-10 20:05 [NTG-context] Reduce space between lines in Natural Tables Jeroen
2023-09-11 7:05 ` [NTG-context] " denis.maier
@ 2023-09-11 8:00 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2023-09-11 8:00 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jeroen
Jeroen schrieb am 10.09.2023 um 22:05:
> Is there an easy way to reduce the line space between rows in a
> natural table so the table takes less vertical space.
Natural tables and extreme tables take extra vertical space because the
table cell use the framed-mechanism
which add a small margin on all sides, to get rid of this space set the
offset value to 0pt. A unwanted side
effect when you set the offset to 0pt is that you no longer have a
distance between each row, to get the space
between the columns back you can either use the loffset and roffset keys
(when you have visible border)
or the columndistance key (when you have invisible borders).
% Alternative 1:
% \setupTABLE[frame=on,offset=0pt,columndistance=1em]
% Alternative 2:
\setupTABLE [frame=off,offset=0pt,loffset=.5em,roffset=.5em]
\setupTABLE [column] [first] [loffset=0pt]
\setupTABLE [column] [last] [roffset=0pt]
\starttext
\bTABLE
\bTR
\bTD Cell 1:1 \eTD
\bTD Cell 1:2 \eTD
\bTD Cell 1:3 \eTD
\eTR
\bTR
\bTD Cell 2:1 \eTD
\bTD Cell 2:2 \eTD
\bTD Cell 2:3 \eTD
\eTR
\bTR
\bTD Cell 3:1 \eTD
\bTD Cell 3:2 \eTD
\bTD Cell 3:3 \eTD
\eTR
\eTABLE
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-12 11:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-10 20:05 [NTG-context] Reduce space between lines in Natural Tables Jeroen
2023-09-11 7:05 ` [NTG-context] " denis.maier
2023-09-12 11:00 ` Jeroen
2023-09-11 8:00 ` Wolfgang Schuster
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).