ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "W.H. Dekker" <wybo@servaly.hobby.nl>
Subject: wie helpt met gekleurde tabel...
Date: Thu, 23 Jul 1998 15:18:44 +0200	[thread overview]
Message-ID: <199807231318.PAA01229@servaly.hobby.nl> (raw)

Colored table are too difficult for me, yet. I'm tryin g to generate a
table from Perl with cells containing numbers >2 colored light gray,
and cells with numbers >3 colored dark gray.

In the following example, lines 1, 2, 3 and 5 should contain colored
cells.  Line 1 is OK, line 2, with the same treatment, stays white,
line 3 is OK again and line 5 stays white.

Can anybody explain? 

Another problem: the second column is numerical, and this works. But
if I replace the next c-key with N[00.0], things go wrong.

\starttable[{
|    l     | N[00.0] | |     c   | |     c      |   }] \HL
%
\VL        \VL\use5  \JustCenter Laboratory no. \VL\SR
%%%\VL     \DL[5]                                  \NR     % does not work
\VL method \VL  1    \VL\VL  2    \VL\VL  3     \VL\SR \HL
%
\BC        \BL[r,.7] \BC\BC       \BL[r,.9]        \FR     % line
\VL PO     \VL 25.5  \VL\VL -0.0  \VL\VL -2.8   \VL\FR     % 1
%
\BC        \BL[r,.9] \BC\BC       \BL[r,.7]        \MR     % line
\VL FFA    \VL -2.2  \VL\VL -0.3  \VL\VL  3.3   \VL\MR     % 2
%
\BC        \BL[r,.9] \BC\BC       \BC\BC           \MR     % line
\VL Ranci  \VL  2.3  \VL\VL  0.7  \VL\VL  0.6   \VL\MR     % 3 
\VL NMR 20 \VL  1.9  \VL\VL  0.7  \VL\VL -1.0   \VL\LR \HL % line 4
%
\VL        \VL\use5  \JustCenter Laboratory no. \VL\SR
\VL method \VL  6    \VL\VL  5    \VL\VL 6      \VL\SR \HL
%
\BC        \BC       \BC\BL[r,.9] \BC              \FR     % line 
\VL PO     \VL  1.4  \VL\VL  2.4  \VL\VL        \VL\FR     % 5
%
\VL FFA    \VL  0.5  \VL\VL -0.8  \VL\VL        \VL\MR     % line 6
%
\VL Ranci  \VL -0.5  \VL\VL       \VL\VL        \VL\MR     % line 7
%
\VL NMR 20 \VL -0.4  \VL\VL       \VL\VL        \VL\LR \HL % line 8
\stoptable
\stoptext

-- 
Kind regards,
Wybo
===================Servalys Analytical Chemistry Services=================
Wybo H. Dekker        | Deilsedijk 60                 | tel (31)345-652164
wybo@servaly.hobby.nl | 4158 CH Deil, The Netherlands | fax (31)345-652383


             reply	other threads:[~1998-07-23 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-23 13:18 W.H. Dekker [this message]
1998-07-23 15:45 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=199807231318.PAA01229@servaly.hobby.nl \
    --to=wybo@servaly.hobby.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).