* Column distance in natural tables
@ 2012-05-22 14:25 Marco
2012-05-22 14:40 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Marco @ 2012-05-22 14:25 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Column distance in natural tables
2012-05-22 14:25 Column distance in natural tables Marco
@ 2012-05-22 14:40 ` Wolfgang Schuster
2012-05-22 14:56 ` Marco
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-05-22 14:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Column distance in natural tables
2012-05-22 14:40 ` Wolfgang Schuster
@ 2012-05-22 14:56 ` Marco
0 siblings, 0 replies; 3+ messages in thread
From: Marco @ 2012-05-22 14:56 UTC (permalink / raw)
To: ntg-context
On 2012-05-22 Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> \setupTABLE [column] [each] [loffset=5mm,roffset=5mm]
> \setupTABLE [column] [first] [loffset=0mm]
> \setupTABLE [column] [last] [roffset=0mm]
Thanks a lot.
Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-22 14:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 14:25 Column distance in natural tables Marco
2012-05-22 14:40 ` Wolfgang Schuster
2012-05-22 14:56 ` Marco
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).