From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43806 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: rows and columns in TABLE Date: Mon, 8 Sep 2008 17:59:38 +0200 Message-ID: <20080908155938.GA21616@gaston.couberia.bzh> References: <20080908141049.GA16235@gaston.couberia.bzh> <115224fb0809080722u2878c4ebgd6a594f394ac81c9@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220889703 22059 80.91.229.12 (8 Sep 2008 16:01:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 16:01:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 08 18:02:38 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 1KcjCE-0001NX-1a for gctc-ntg-context-518@m.gmane.org; Mon, 08 Sep 2008 18:02:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 412941FEC5; Mon, 8 Sep 2008 18:01:21 +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 28591-03; Mon, 8 Sep 2008 18:00:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4DBFE1FEB1; Mon, 8 Sep 2008 18:00:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11BDE1FE9F for ; Mon, 8 Sep 2008 18:00:19 +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 00044-02-2 for ; Mon, 8 Sep 2008 17:59:41 +0200 (CEST) Original-Received: from smtp19.orange.fr (smtp19.orange.fr [80.12.242.17]) by ronja.ntg.nl (Postfix) with ESMTP id 498951FEA9 for ; Mon, 8 Sep 2008 17:59:40 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1912.orange.fr (SMTP Server) with ESMTP id EB7681C00094 for ; Mon, 8 Sep 2008 17:59:39 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-45-34.w90-49.abo.wanadoo.fr [90.49.236.34]) by mwinf1912.orange.fr (SMTP Server) with ESMTP id C01DC1C00090 for ; Mon, 8 Sep 2008 17:59:39 +0200 (CEST) X-ME-UUID: 20080908155939786.C01DC1C00090@mwinf1912.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 2A6AF306D0; Mon, 8 Sep 2008 17:59:39 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <115224fb0809080722u2878c4ebgd6a594f394ac81c9@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) 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:43806 Archived-At: Now I would like to adjust the height of each row. But I manage to get the desired result only with a seventh fake column. Consider this example with and without the mode "seven": %\enablemode[seven] \starttext \setupTABLE[r][2,3,4,5,6,7][height=6ex] \bTABLE[width=0.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 \doifmode{seven}{\bTH 7. col\eTH} \eTR \bTR \bTD[nr=6]6 rows in 1. col\eTD \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=6]6 rows in 3. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \bTD 1 row in 5. col\eTD \bTD[nr=2]2 rows in 6. col\eTD \doifmode{seven}{\bTD\eTD} \eTR \bTR \bTD[nr=2] 2 rows in 5. col\eTD \doifmode{seven}{\bTD\eTD} \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \bTD[nr=4]4 rows in 6. col\eTD \doifmode{seven}{\bTD\eTD} \eTR \bTR \bTD[nr=2] 2 rows in 5. col\eTD \doifmode{seven}{\bTD\eTD} \eTR \bTR \bTD[nr=2]2 rows in 2. col\eTD \bTD[nr=2]2 rows in 4. col\eTD \doifmode{seven}{\bTD\eTD} \eTR \bTR \bTD 1 row in 5. col\eTD \doifmode{seven}{\bTD\eTD} \eTR \eTABLE \stoptext Any hints, you to adjust the heights without fake column? TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________