From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: natural tables - first row not gray
Date: Thu, 5 Apr 2007 08:26:10 +0200 [thread overview]
Message-ID: <115224fb0704042326r5db4973bj1c4ee63168d626a@mail.gmail.com> (raw)
In-Reply-To: <B46993C748ACD6438DDCD6BA16AA6595016BE77D@centx302.corp.rta.nsw.gov.au>
[-- Attachment #1.1: Type: text/plain, Size: 1486 bytes --]
2007/4/5, MASON Peter J <Peter_MASON@rta.nsw.gov.au>:
>
> G'day, firstly thanks for your contextgarden.net website and the
> "live-context" facility. I checked my results against it. Could I seek help
> on this please.
>
> I'm expecting rows 2-4 of the table resulting from the segment below to
> have odd columns in rows 2-4 with white-on-black but all columns are coming
> out as black-on-white. I also tried completely specifying it by supplying
> \setupTABLE[even][2-4] ... as well.
>
> Something obvious I expect, but I'm missing it. Thanks.
>
> \setupcolors[state=start]
> \starttext
> \bTABLE
> \setupTABLE[first][first][align=middle,
> background=color,backgroundcolor=gray,foregroundcolor=black]
>
> \setupTABLE[odd][2,3,4][align=left,background=color,backgroundcolor=black,foregroundcolor=white]
>
Hi Peter,
can you try the follwing setups:
\setupTABLE[c][odd][align=left,background=color,backgroundcolor=black,foregroundcolor=white]
\setupTABLE[r][first][align=middle,background=color,backgroundcolor=gray,foregroundcolor=black]
Wolfgang
\bTR
> \bTD [nc=6] Prime Unit \eTD
> \eTR
> \bTR
> \bTD Plate: \eTD
> \bTD xxxxx \eTD
> \bTD State: \eTD
> \bTD sssss \eTD
> \bTD Type: \eTD
> \bTD ttttt \eTD
> \eTR
> \bTR
> \bTD Make: \eTD
> \bTD mmmm \eTD
> \bTD GCM: \eTD
> \bTD [nc=3] gggg \eTD
> \eTR
> \bTR
> \bTD Chassis: \eTD
> \bTD cccc \eTD
> \bTD GVM: \eTD
> \bTD [nc=3] vvv \eTD
> \eTR
> \eTABLE
> \stoptext
>
[-- Attachment #1.2: Type: text/html, Size: 3561 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2007-04-05 6:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 1:24 MASON Peter J
2007-04-05 6:26 ` Wolfgang Schuster [this message]
2007-04-09 22:28 MASON Peter J
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=115224fb0704042326r5db4973bj1c4ee63168d626a@mail.gmail.com \
--to=schuster.wolfgang@googlemail.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).