Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Thanks Wolfgang and Peter for the instructive samples.


> \starttext
> \bTABLE
>\bTR
>\bTD \input zapf   \eTD
>\bTD[width=1cm]\eTD
>\bTD \input ward   \eTD
>\bTD \input montgomery \eTD
>\eTR
> \eTABLE
> \stoptext


I actually use something like that quite often :)

Patrick



___
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
___


Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Wolfgang Schuster wrote:
> 
> > 1) how do I define colsep in a TABLE table?
> 
> Are these enough options?

Perhaps not, there is still the ugly one:

\starttext
\bTABLE
\bTR
\bTD \input zapf   \eTD
\bTD[width=1cm]\eTD
\bTD \input ward   \eTD
\bTD \input montgomery \eTD
\eTR
\eTABLE
\stoptext

;)

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___


Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote:
> 
> > 1) how do I define colsep in a TABLE table?
> 
> To clarify my wish: I would like to get a distance between two columns, see
> the attached image.

\setupTABLE[c][1][distance=2cm]
\starttext
\framed[offset=0pt, strut=no]{%
  \bTABLE
  \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \eTR
  \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \eTR
  \eTABLE
}
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___


Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Wolfgang Schuster

Am 30.09.2010 um 14:48 schrieb Patrick Gundlach:

> Hi,
> 
> 1) how do I define colsep in a TABLE table?

Are these enough options?

\showframe

\starttext

\bTABLE
\bTR
\bTD \input zapf   \eTD
\bTD \input ward   \eTD
\bTD \input montgomery \eTD
\eTR
\eTABLE

\page

\bTABLE[distance=1cm]
\bTR
\bTD \input zapf   \eTD
\bTD \input ward   \eTD
\bTD \input montgomery \eTD
\eTR
\eTABLE

\page

\bTABLE[columndistance=1cm]
\bTR
\bTD \input zapf   \eTD
\bTD \input ward   \eTD
\bTD \input montgomery \eTD
\eTR
\eTABLE

\page

\bTABLE[columndistance=1cm,leftmargindistance=5mm,rightmargindistance=15mm]
\bTR
\bTD \input zapf   \eTD
\bTD \input ward   \eTD
\bTD \input montgomery \eTD
\eTR
\eTABLE

\page

\start

\setupTABLE[offset=0pt,loffset=5mm,roffset=5mm]
\setupTABLE[c][first][loffset=0pt,roffset=5mm]
\setupTABLE[c][last] [loffset=5mm,roffset=0pt]

\bTABLE
\bTR
\bTD \input zapf   \eTD
\bTD \input ward   \eTD
\bTD \input montgomery \eTD
\eTR
\eTABLE

\stop

\stoptext

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
___


Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Hello Peter,

thanks! I forgot to turn the frame off.

Patrick

___
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
___


Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach

> 1) how do I define colsep in a TABLE table?

To clarify my wish: I would like to get a distance between two columns, see the 
attached image.


Patrick



<>___
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
___


Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote:

> 2) how do I get a left rule only in a TABLE cell? I've tried:
> 
> \bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD  \eTR

Hello Patrick,

\setupTABLE[frame=off]
\starttext
\bTABLE
\bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD  \eTR
\eTABLE
\stoptext

or

\starttext
\bTABLE
\bTR \bTD[frame=off, leftframe=on,rulethickness=2pt] 2 \eTD  \eTR
\eTABLE
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___


[NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Hi,

1) how do I define colsep in a TABLE table?
2) how do I get a left rule only in a TABLE cell? I've tried:

\bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD  \eTR

but that gave me a completely framed cell.


Thanks

Patrick

___
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
___