* colsep / left rule in TABLE
@ 2010-09-30 12:48 Patrick Gundlach
2010-09-30 12:54 ` Peter Münster
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Patrick Gundlach @ 2010-09-30 12:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 12:48 colsep / left rule in TABLE Patrick Gundlach
@ 2010-09-30 12:54 ` Peter Münster
2010-09-30 13:04 ` Patrick Gundlach
2010-09-30 12:55 ` Patrick Gundlach
2010-09-30 13:41 ` Wolfgang Schuster
2 siblings, 1 reply; 8+ messages in thread
From: Peter Münster @ 2010-09-30 12:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 12:48 colsep / left rule in TABLE Patrick Gundlach
2010-09-30 12:54 ` Peter Münster
@ 2010-09-30 12:55 ` Patrick Gundlach
2010-09-30 13:45 ` Peter Münster
2010-09-30 13:41 ` Wolfgang Schuster
2 siblings, 1 reply; 8+ messages in thread
From: Patrick Gundlach @ 2010-09-30 12:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 167 bytes --]
> 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
[-- Attachment #2: colsep.png --]
[-- Type: image/png, Size: 17155 bytes --]
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 12:54 ` Peter Münster
@ 2010-09-30 13:04 ` Patrick Gundlach
0 siblings, 0 replies; 8+ messages in thread
From: Patrick Gundlach @ 2010-09-30 13:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 12:48 colsep / left rule in TABLE Patrick Gundlach
2010-09-30 12:54 ` Peter Münster
2010-09-30 12:55 ` Patrick Gundlach
@ 2010-09-30 13:41 ` Wolfgang Schuster
2010-09-30 13:53 ` Peter Münster
2010-09-30 14:19 ` Patrick Gundlach
2 siblings, 2 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2010-09-30 13:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 12:55 ` Patrick Gundlach
@ 2010-09-30 13:45 ` Peter Münster
0 siblings, 0 replies; 8+ messages in thread
From: Peter Münster @ 2010-09-30 13:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 13:41 ` Wolfgang Schuster
@ 2010-09-30 13:53 ` Peter Münster
2010-09-30 14:19 ` Patrick Gundlach
1 sibling, 0 replies; 8+ messages in thread
From: Peter Münster @ 2010-09-30 13:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: colsep / left rule in TABLE
2010-09-30 13:41 ` Wolfgang Schuster
2010-09-30 13:53 ` Peter Münster
@ 2010-09-30 14:19 ` Patrick Gundlach
1 sibling, 0 replies; 8+ messages in thread
From: Patrick Gundlach @ 2010-09-30 14:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-09-30 14:19 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 12:48 colsep / left rule in TABLE Patrick Gundlach
2010-09-30 12:54 ` Peter Münster
2010-09-30 13:04 ` Patrick Gundlach
2010-09-30 12:55 ` Patrick Gundlach
2010-09-30 13:45 ` Peter Münster
2010-09-30 13:41 ` Wolfgang Schuster
2010-09-30 13:53 ` Peter Münster
2010-09-30 14:19 ` Patrick Gundlach
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).