Re: [NTG-context] border widths with TABLE

2005-04-13 Thread Eckhart Guthöhrlein
On Tue, 12 Apr 2005 at 15:54:49-0400, Paul Tremblay wrote:
> On Tue, Apr 12, 2005 at 01:05:45PM +0200, Eckhart Guthöhrlein wrote:
> > 
> > As far as I know, this is not possible in an easy way. Have a look about
> > the booktabs dicussions some days ago.
> 
> That's really too bad. You can do so much else with TABLE.

Ah really? It is not intended to be used as it is, just an idea how you
can get lines with different widths.

-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 10:49:30PM +0200, Hans Hagen wrote:
> 
> \setupcolors[state=start]
> 
> \startuniqueMPgraphic{border}
>   draw OverlayBox withpen pencircle scaled 1pt withcolor red ;
>   draw leftboundary OverlayBox withpen pencircle scaled 3pt withcolor green 
>   ;
> \stopuniqueMPgraphic
> 
> \defineoverlay[border][\uniqueMPgraphic{border}]
> 
> \starttext
> 
> \bTABLE[frame=off]
> \bTR \bTD[background=border] some test   \eTD \bTD oeps   \eTD \eTR
> \bTR \bTD just a test \eTD \bTD[background=border] oeps again \eTD \eTR
> \eTABLE
> 
> \stoptext

The code hangs:

MP test-mpgraph.4000] [MP test-mpgraph.3999])
*

But even if I could fix that, this seems like a difficult workaround.

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Hans Hagen
Henning Hraban Ramm wrote:
Am 12.04.2005 um 22:20 schrieb Hans Hagen:
As far as I know, this is not possible in an easy way. Have a look 
about
the booktabs dicussions some days ago.
That's really too bad. You can do so much else with TABLE.
what are booktabs

That refers to the "booktabs" LaTeX package and the accomanying docs
that setup/describe conservative table settings.
It shows some interesting considerations, but I find most settings
not only oldfashioned but a matter of taste (indents, different
line widths etc.)
ah ... you're in sync with tufte; btw, once you've read his books you never dare 
to use rules and such again -)

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Hans Hagen
Paul Tremblay wrote:
On Tue, Apr 12, 2005 at 01:05:45PM +0200, Eckhart Guthöhrlein wrote:
As far as I know, this is not possible in an easy way. Have a look about
the booktabs dicussions some days ago.

That's really too bad. You can do so much else with TABLE.
you can hook in metapost code and draw any border you want
\setupcolors[state=start]
\startuniqueMPgraphic{border}
  draw OverlayBox withpen pencircle scaled 1pt withcolor red ;
  draw leftboundary OverlayBox withpen pencircle scaled 3pt withcolor green ;
\stopuniqueMPgraphic
\defineoverlay[border][\uniqueMPgraphic{border}]
\starttext
\bTABLE[frame=off]
\bTR \bTD[background=border] some test   \eTD \bTD oeps   \eTD \eTR
\bTR \bTD just a test \eTD \bTD[background=border] oeps again \eTD \eTR
\eTABLE
\stoptext

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Henning Hraban Ramm
Am 12.04.2005 um 22:20 schrieb Hans Hagen:
As far as I know, this is not possible in an easy way. Have a look 
about
the booktabs dicussions some days ago.
That's really too bad. You can do so much else with TABLE.
what are booktabs
That refers to the "booktabs" LaTeX package and the accomanying docs
that setup/describe conservative table settings.
It shows some interesting considerations, but I find most settings
not only oldfashioned but a matter of taste (indents, different
line widths etc.)
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Hans Hagen
Paul Tremblay wrote:
On Tue, Apr 12, 2005 at 01:05:45PM +0200, Eckhart Guthöhrlein wrote:
As far as I know, this is not possible in an easy way. Have a look about
the booktabs dicussions some days ago.

That's really too bad. You can do so much else with TABLE.
what are booktabe
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 01:05:45PM +0200, Eckhart Guthöhrlein wrote:
> 
> As far as I know, this is not possible in an easy way. Have a look about
> the booktabs dicussions some days ago.

That's really too bad. You can do so much else with TABLE.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Eckhart Guthöhrlein
On Mon, 11 Apr 2005 at 21:50:42-0400, Paul Tremblay wrote:
> How does one create different border widths in TABLE? For example, say
> you want to create an extra thick border between the head and the
> body? 
> 
> % this sets up the thickness for *all the borders
> % need just the bottom border
> \setupTABLE[r][first][rulethickness=1pt]

As far as I know, this is not possible in an easy way. Have a look about
the booktabs dicussions some days ago.

-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] border widths with TABLE

2005-04-11 Thread Paul Tremblay
How does one create different border widths in TABLE? For example, say
you want to create an extra thick border between the head and the
body? 

% this sets up the thickness for *all the borders
% need just the bottom border
\setupTABLE[r][first][rulethickness=1pt]

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context