ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michal Kvasnicka <quasar@econ.muni.cz>
Subject: Re: Table with metapost framing and colors
Date: Mon, 15 Sep 2003 10:32:37 +0200	[thread overview]
Message-ID: <3F657925.6080503@econ.muni.cz> (raw)
In-Reply-To: <5.2.0.9.1.20030913230718.02740448@localhost>

Wow.

If I knew this mechanism some time ago, I would same a lot of time. :-( 
It is great. Many thanks.

BTW, is it possile  to set a different rule-thickness for different part 
of the frame (e.g. leftframerulethikness=3pt etc.)? Is it possible to 
set this way also offset?

With many thanks
Michal Kvasnicka

> however, i wonder if you really need all that mp code:
>
> \defineframedcontent[SomeTable][offset=1pt,rulethickness=2pt]
> \startframedcontent[SomeTable]
> \setupTABLE[2][1][background=color,backgroundcolor=black,foregroundcolor=white] 
>
> \bTABLE
> \bTR\bTD Date \eTD\bTD  Index CPI \eTD\eTR
> \bTR\bTD jan 1991 \eTD\bTD 59.4 \eTD\eTR
> \bTR\bTD feb 1991 \eTD\bTD 63.1 \eTD\eTR
> \bTR\bTD mar 1991 \eTD\bTD 65.7 \eTD\eTR
> \bTR\bTD $\vdots$ \eTD\bTD $\vdots$ \eTD\eTR
> \bTR\bTD dec 1995 \eTD\bTD 112.5 \eTD\eTR
> \eTABLE
> \stopframedcontent
>
> (\defineframedcontent is just a kind of preset framed text)
> -------------------------------------------------------------------------
>                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
>                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
>                        information: http://www.pragma-ade.com/roadmap.pdf
>                     documentation: http://www.pragma-ade.com/showcase.pdf
> -------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2003-09-15  8:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 14:24 Michal Kvasnicka
2003-09-13 21:48 ` Hans Hagen
2003-09-15  8:32   ` Michal Kvasnicka [this message]
2003-09-15 18:47     ` 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=3F657925.6080503@econ.muni.cz \
    --to=quasar@econ.muni.cz \
    --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).