Greetings,

TABLE uses framed extensively to make its cells. it adds all sorts of
offsets and paddings (especially vertical) to cells that annoy me
greatly. i'd like to set up TABLEs to have the same vertical spacing as
a regular tabulate table or even halign, but i keep getting lost in the
options for both TABLE and framed. which ones do i need? i'd like it to
play nice with interline spacing options as well.

MWE:

% === mwe start ===
\startsetups document:start
\setupinterlinespace[line=3.5ex]
\stopsetups

%\showboxes

\startdocument

\startcolumns[n=4]

text\blank[none]
more text\blank[none]

\columnbreak

\unprotect
\halign{%
    \hss#\tabskip=1em&\tabskip=0pt#\cr
    text&more text\cr
    more text&text\cr
}%
\protect

\columnbreak

\starttabulate[|r|l|]
\NC text \NC more text \NC\AR
\NC more text \NC text \NC\AR
\stoptabulate

\columnbreak

\start
\setupTABLE[column][1][align=flushright]%
\setupTABLE[column][2][align=flushleft]%
\bTABLE
    \bTR \bTD text \eTD \bTD more text \eTD \eTR
    \bTR \bTD more text \eTD \bTD text \eTD \eTR
\eTABLE
\stop

\stopcolumns

\stopdocument
% === mwe end ===

Kirill

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to