Column distance in natural tables
Hi, How to set the distance in a generic way between individual columns without breaking the frame rules? A workaround is to set the roffset of all columns, except the last one, but that's not very universal. \startsetups table \setupTABLE [frame=off, topframe=on] % generic, but frame rules are interrupted \setupTABLE [columndistance=1cm] % works, but ugly hard coded #columns %\setupTABLE [column] [1,2] [roffset=1cm] \stopsetups \starttext \bTABLE [setups=table] \bTR\bTD aaaaaa \eTD\bTD bbbbbbbb \eTD\bTD ccccccc \eTD\eTR \bTR\bTD dddd \eTD\bTD eeeeeeee \eTD\bTD fffff \eTD\eTR \bTR\bTD ggggg \eTD\bTD hhhh \eTD\bTD iiiiii \eTD\eTR \eTABLE \stoptext Marco
Am 22.05.2012 um 16:25 schrieb Marco:
Hi,
How to set the distance in a generic way between individual columns without breaking the frame rules? A workaround is to set the roffset of all columns, except the last one, but that's not very universal.
\startsetups table \setupTABLE [frame=off, topframe=on]
% generic, but frame rules are interrupted \setupTABLE [columndistance=1cm]
% works, but ugly hard coded #columns %\setupTABLE [column] [1,2] [roffset=1cm]
\setupTABLE [column] [each] [loffset=5mm,roffset=5mm] \setupTABLE [column] [first] [loffset=0mm] \setupTABLE [column] [last] [roffset=0mm] Wolfgang
participants (2)
-
Marco
-
Wolfgang Schuster