ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Disappearing colors in tables
@ 1998-10-23  9:36 Berend de Boer
  0 siblings, 0 replies; 2+ messages in thread
From: Berend de Boer @ 1998-10-23  9:36 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

Hai All,

How can I color two consecutive lines in a table?

Here's my code:

\stelkleurenin[status=start]

\starttekst

\plaatstabel[hier][]{geen}
\starttabel[|l|l|]
\HL
\RL\SR
\VL Head 1 \VL Head 2 \VL\SR
\RL\SR
\VL Head A \VL Head B \VL\SR
\HL
\VL 1 \VL 2 \VL\SR
\VL a \VL b \VL\SR
\HL
\stoptabel

\stoptekst

However, the Head A line is not colored.

Here the output I get:

Groetjes,

Berend.

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 9586 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Disappearing colors in tables
@ 1998-10-27 12:11 Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 1998-10-27 12:11 UTC (permalink / raw)
  Cc: 'ntg-context@ntg.nl'

Berend de Boer wrote:

> How can I color two consecutive lines in a table?

> \RL\SR
> \VL Head 1 \VL Head 2 \VL\SR
> \RL\SR
> \VL Head A \VL Head B \VL\SR

> However, the Head A line is not colored.

We can consider this to be a bug! Remind me solving it. For the moment,
use the \BR command to repeat the color template line (which is defined
by \RL). 

\starttabel[|l|l|]
\HL
\RL\FR \VL Head 1 \VL Head 2 \VL\FR
\BR\LR \VL Head A \VL Head B \VL\LR
\HL
\VL 1 \VL 2 \VL\FR
\VL a \VL b \VL\LR
\HL
\stoptabel

Well, maybe it's time I write an alternative table package. 

Hans

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-27 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-23  9:36 Disappearing colors in tables Berend de Boer
1998-10-27 12:11 Hans Hagen

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