From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63420 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: table background color in first row Date: Thu, 11 Nov 2010 20:13:22 +0100 Message-ID: <113D46C8-CCB0-4295-9420-32927C72F0EE@gmail.com> References: <20101111194414.38552cb1@arcor.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289502840 26740 80.91.229.12 (11 Nov 2010 19:14:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2010 19:14:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 11 20:13:55 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PGcam-00084G-QF for gctc-ntg-context-518@m.gmane.org; Thu, 11 Nov 2010 20:13:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DEFDFCA860; Thu, 11 Nov 2010 20:13:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tjb98mwHyJ8h; Thu, 11 Nov 2010 20:13:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D52AACA854; Thu, 11 Nov 2010 20:13:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAB9CCA854 for ; Thu, 11 Nov 2010 20:13:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id G7EbuNdh6oeX for ; Thu, 11 Nov 2010 20:13:45 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 8088ACA82D for ; Thu, 11 Nov 2010 20:13:45 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oABJDisc026042 for ; Thu, 11 Nov 2010 20:13:45 +0100 Original-Received: by fxm20 with SMTP id 20so1684466fxm.14 for ; Thu, 11 Nov 2010 11:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=QW7avEOhnLDkFulGQLopCETs6b4i6Q0HE4vsz82JI2w=; b=n8MJKzgTDRZJluETS7sq/lTn3zRjrYdDghKDhqK0wpyUCV+EVkFA+eqrC4u5Px1nOx 5G/2Mkg1RTPCOz2591+BJ6YcPYQbkF/LPI+YdSon6Bw1qSUY/uzvrZIIJ+i7l2ObPvYP STHkWibZmj1fQe0muGDld8ual7jxiOFo0nnq0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=KsiJYhJRvggV9LabS+eV6srNlTDAOhgp5joDZueuSaxrpXjCxKpotVO0MHxwb07j8s 6v0zhprcOL5K3GfWAM3MKXQRSD0sVAlDEk02dKs+pfgSfMN7TBH/KJ9LCBW55GY4iLR+ ff+bo6SriLZ6pDzvyuQvt9FUTIBNI8CYCazVs= Original-Received: by 10.223.118.211 with SMTP id w19mr530240faq.14.1289502824472; Thu, 11 Nov 2010 11:13:44 -0800 (PST) Original-Received: from [192.168.2.23] (p5B29403D.dip.t-dialin.net [91.41.64.61]) by mx.google.com with ESMTPS id r22sm1096259fax.21.2010.11.11.11.13.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 11:13:43 -0800 (PST) In-Reply-To: <20101111194414.38552cb1@arcor.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DtTdIPG - 57e49db76847 - 20101111 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:63420 Archived-At: Am 11.11.2010 um 19:44 schrieb Manfred Lotz: > Hi there, > > I have s simple table like this: > > \starttext > > \starttable[|l|l|] > \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL > \NC cell 11 \NC cell 12 \NC \FR > \NC cell 11 \NC cell 12 \NC \LR > \stoptable > > \stoptext > > and like to have a light gray background for the heading row. > > I found documentation about \setupTABLE which on the one hand I did not > fully understand how to use and on the other hand I'm not quite sure > how far this is the way it is done nowadays. The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural table: \starttext \setupTABLE[header][style=bold,background=color,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead \bTABLEbody \bTR \bTD cell 11 \eTD \bTD cell 12 \eTD \eTR \bTR \bTD cell 21 \eTD \bTD cell 22 \eTD \eTR \eTABLEbody \eTABLE \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________