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
\bTABLE[spaceinbetween=0cm]
...
\eTABLE
Von: 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
It does not seem to have an effect to the table. The distance between the
rows remains the same
Thanks, Jeroen
Op ma 11 sep 2023 om 09:08 schreef
\bTABLE[spaceinbetween=0cm]
...
\eTABLE
*Von:* Jeroen
*Gesendet:* Sonntag, 10. September 2023 22:05 *An:* mailing list for ConTeXt users *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
___________________________________________________________________________________ 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
___________________________________________________________________________________
participants (3)
-
denis.maier@unibe.ch
-
Jeroen
-
Wolfgang Schuster