ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: border widths with TABLE
Date: Tue, 12 Apr 2005 22:49:30 +0200	[thread overview]
Message-ID: <425C345A.3030200@wxs.nl> (raw)
In-Reply-To: <20050412195449.GA2375@localhost.localdomain>

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

  parent reply	other threads:[~2005-04-12 20:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12  1:50 Paul Tremblay
2005-04-12 11:05 ` Eckhart Guthöhrlein
2005-04-12 19:54   ` Paul Tremblay
2005-04-12 20:20     ` Hans Hagen
2005-04-12 20:35       ` Henning Hraban Ramm
2005-04-12 21:01         ` Hans Hagen
2005-04-12 20:49     ` Hans Hagen [this message]
2005-04-13  1:25       ` Paul Tremblay
2005-04-13  8:17     ` Eckhart Guthöhrlein
2005-04-13  9:44       ` Russian Albrecht Kauffmann
2005-04-13 15:03         ` Russian Albrecht Kauffmann
2005-04-13 15:59           ` Russian Mikael Persson
2005-04-14  8:04             ` Albrecht Kauffmann
2005-04-14  8:57               ` Mikael Persson
2005-04-14 12:00                 ` mswintex.zip Lutz Haseloff
2005-04-14 12:44                   ` AW: mswintex.zip Michael Fuchs
2005-04-14 12:51                   ` mswintex.zip Patrick Gundlach
2005-04-14 13:44                     ` mswintex.zip Lutz Haseloff
2005-04-14 18:43                       ` Willi Egger
2005-04-14 19:16                       ` mswintex.zip Patrick Gundlach
2005-04-14 19:26                         ` mswintex.zip Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=425C345A.3030200@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).