ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "'ntg-context@ntg.nl'" <ntg-context@ntg.nl>
Subject: Re: Gray lines
Date: Sun, 28 Jun 1998 00:14:49 +0200	[thread overview]
Message-ID: <35956ED9.336E6E6D@wxs.nl> (raw)

Berend de Boer wrote:
> 
> Hai All,
> 
> ConTeXt makes it so easy to use colors that some shortcomings of TeX become
> quite apparant. Does anyone have experience with the TeX clones like eTeX
> if they do color better?
> 
> For example background color of cells in a table is difficult to get right.
> Also I want vertical gray lines between rows.

Got you! It's one of the undocumented features: 

\stelkleurenin[status=start]           \setupcolors[state=start]

\starttabel[||]                        \starttable[||]
\HC[groen][4]                          \HC[green][4]
\VC[rood] test \VC[blauw][8] \SR       \VC[red] test \VC[blue] \SR
\HC[groen]                             \HC[green]
\stoptabel                             \stoptable

\end

Color in cells is not that hard. I suggest that you look in core-tab for
some examples. Another automatic feature is:

\AR (automatic row instead of \SR \FR \MR \LR) 

Wanna get crazy: turn on tracing: \tracetabletrue

Hans 

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


             reply	other threads:[~1998-06-27 22:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-27 22:14 Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-26 17:59 Berend de Boer

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=35956ED9.336E6E6D@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).