[NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

Aditya Mahajan adityam at umich.edu
Wed Jun 20 13:13:08 CEST 2018


On Sat, 9 Jun 2018, Procházka Lukáš Ing. wrote:

> Hello,
>
> I have two questions about TABLEs. Suppose having the following code:
>
> ----
> \setuplayout[page]
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> \starttext
> \startalignment[middle]
>   \dontleavehmode
>   \bTABLE[before=,after=,inbetween=]
>     \bTABLEbody
>       \dorecurse{10}{
>         \bTR
>           \bTD aaa\eTD
>           \bTD bbb\eTD
>         \eTR
>       }
>     \eTABLEbody
>   \eTABLE
>   \crlf
>   \bTABLE[before=,after=,inbetween=]
>     \bTABLEbody
>       \bTR
>         \bTD AAA\eTD
>         \bTD BBB\eTD
>       \eTR
>     \eTABLEbody
>   \eTABLE
> \stopalignment
>
> - How to suppress the vertical space between the last row of "aaa - bbb" 
> table and the first row of the "AAA - BBB" table?

(Untested) Try `\blank[none]` instead of `\crlf`.

Aditya


More information about the ntg-context mailing list