From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43804 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: rows and columns in TABLE Date: Mon, 8 Sep 2008 16:22:54 +0200 Message-ID: <115224fb0809080722u2878c4ebgd6a594f394ac81c9@mail.gmail.com> References: <20080908141049.GA16235@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1220883862 28437 80.91.229.12 (8 Sep 2008 14:24:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 14:24:22 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 08 16:25:09 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kchfq-0001qc-8v for gctc-ntg-context-518@m.gmane.org; Mon, 08 Sep 2008 16:25:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60B861FEDC; Mon, 8 Sep 2008 16:23:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12861-02; Mon, 8 Sep 2008 16:23:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D20F1FEC1; Mon, 8 Sep 2008 16:23:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1FABD1FEC1 for ; Mon, 8 Sep 2008 16:23:10 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04488-05-12 for ; Mon, 8 Sep 2008 16:22:57 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by ronja.ntg.nl (Postfix) with ESMTP id 376281FB29 for ; Mon, 8 Sep 2008 16:22:56 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id r21so318769wxc.5 for ; Mon, 08 Sep 2008 07:22:55 -0700 (PDT) Original-Received: by 10.103.170.6 with SMTP id x6mr10273195muo.42.1220883774355; Mon, 08 Sep 2008 07:22:54 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Mon, 8 Sep 2008 07:22:54 -0700 (PDT) In-Reply-To: <20080908141049.GA16235@gaston.couberia.bzh> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43804 Archived-At: On Mon, Sep 8, 2008 at 4:10 PM, Peter M=FCnster wrote: > Hello, > > Could you help me please? I don't get the desired result, 3 columns are > added: > > \starttext > \setupTABLE[width=3D\dimexpr \textwidth / 8 \relax] > \bTABLE > \bTR > \bTH 1. col\eTH > \bTH 2. col\eTH > \bTH 3. col\eTH > \bTH 4. col\eTH > \bTH 5. col\eTH > \bTH 6. col\eTH > \eTR > \bTR > \bTD[nr=3D6]6 rows in 1. col\eTD > \bTD[nr=3D2]2 rows in 2. col\eTD > \bTD[nr=3D6]6 rows in 3. col\eTD > \bTD[nr=3D2]2 rows in 4. col\eTD > \bTD 1 row in 5. col\eTD > \bTD[nr=3D2]2 rows in 6. col\eTD > \eTR > \bTR > \bTD[nr=3D2]2 rows in 2. col\eTD > \bTD[nr=3D2]2 rows in 4. col\eTD > \bTD[nr=3D2]2 rows in 5. col\eTD > \bTD[nr=3D4]4 rows in 6. col\eTD > \eTR > \bTR > \bTD[nr=3D2]2 rows in 2. col\eTD > \bTD[nr=3D2]2 rows in 4. col\eTD > \bTD[nr=3D2]2 rows in 5. col\eTD > \eTR > \bTR > \bTD 1 row in 5. col\eTD > \eTR > \eTABLE > \stoptext > > Thanks in advance for any advice! > Cheers, Peter You should use pen and paper to contruct the table, it helps. \starttext \bTABLE[width=3D0.125\textwidth] \bTR \bTH 1. col\eTH \bTH 2. col\eTH \bTH 3. col\eTH \bTH 4. col\eTH \bTH 5. col\eTH \bTH 6. col\eTH \eTR \bTR \bTD[nr=3D6]6 rows in 1. col\eTD \bTD[nr=3D2]2 rows in 2. col\eTD \bTD[nr=3D6]6 rows in 3. col\eTD \bTD[nr=3D2]2 rows in 4. col\eTD \bTD 1 row in 5. col\eTD \bTD[nr=3D2]2 rows in 6. col\eTD \eTR \bTR \bTD[nr=3D2] 2 rows in 5. col\eTD \eTR \bTR \bTD[nr=3D2]2 rows in 2. col\eTD \bTD[nr=3D2]2 rows in 4. col\eTD \bTD[nr=3D4]4 rows in 6. col\eTD \eTR \bTR \bTD[nr=3D2] 2 rows in 5. col\eTD \eTR \bTR \bTD[nr=3D2]2 rows in 2. col\eTD \bTD[nr=3D2]2 rows in 4. col\eTD \eTR \bTR \bTD 1 row in 5. col\eTD \eTR \eTABLE \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________