From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62 Path: main.gmane.org!not-for-mail From: "W.H. Dekker" Newsgroups: gmane.comp.tex.context Subject: wie helpt met gekleurde tabel... Date: Thu, 23 Jul 1998 15:18:44 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <199807231318.PAA01229@servaly.hobby.nl> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035390921 20796 80.91.224.250 (23 Oct 2002 16:35:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:35:21 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:62 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:62 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