ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tomasz Kosinski <mickle@escape.com>
Subject: Re: \setupTABLE commands?
Date: Fri, 14 Feb 2003 18:31:20 -0500	[thread overview]
Message-ID: <863cmqigmv.fsf@rationalbuilding.net> (raw)
In-Reply-To: <2618EFD8-406D-11D7-95C2-0050E4258255@fastmail.fm> ("Bruce D'Arcus"'s message of "Fri, 14 Feb 2003 17:39:16 -0500")

"Bruce D'Arcus" <bdarcus@fastmail.fm> writes:

> I've been looking for a summary of available commands in \setupTABLE,
> but can't find it.  I had thought the following (modified from the
> nattab manual) would get me a table centered on the page,

if you mean centered horizontally, it works if you use midaligned

> \definecolor[back-1][r=.8,g=.8,b=.4]
> \definecolor[back-2][r=.8,g=.8,b=.6]
> \definecolor[back-3][r=.8,g=.8,b=.8]

\midaligned{
\bTABLE
> \setupTABLE[background=color,
> frame=off,
> framecolor=white,
> location=middle,
> spaecbefore=1*medium,
> spaceafter=1*medium]
> \setupTABLE[row][1] [rulethickness=2pt,bottomframe=on]
> \setupTABLE[row][1] [backgroundcolor=back-1]
> \setupTABLE[row][odd] [backgroundcolor=back-2]
> \setupTABLE[row][even][backgroundcolor=back-3]
\bTR, etc
\eTABLE
}

looking for other good ways to accomplish same...

Tomasz

  reply	other threads:[~2003-02-14 23:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14 22:39 Bruce D'Arcus
2003-02-14 23:31 ` Tomasz Kosinski [this message]
2003-02-14 23:41   ` Bruce D'Arcus
2003-02-15  0:56     ` Tomasz Kosinski
2003-02-15  2:00       ` Bruce D'Arcus
2003-02-16 23:12         ` Hans Hagen
2003-02-16 23:16       ` Hans Hagen
2003-02-15 11:41     ` Willi Egger
2003-02-16 23:35       ` Hans Hagen
2003-02-16 23:33 ` 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=863cmqigmv.fsf@rationalbuilding.net \
    --to=mickle@escape.com \
    --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).