From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43924 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 (fwd) Date: Thu, 11 Sep 2008 22:56:21 +0200 Message-ID: <20080911205621.GA31572@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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221167003 30907 80.91.229.12 (11 Sep 2008 21:03:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 21:03:23 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 11 23:04:18 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 1KdtKq-0006D1-Uf for gctc-ntg-context-518@m.gmane.org; Thu, 11 Sep 2008 23:04:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E5DA1FF5B; Thu, 11 Sep 2008 23:03:14 +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 05881-01; Thu, 11 Sep 2008 23:02:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E48C51FF51; Thu, 11 Sep 2008 22:57:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 586D81FF4F for ; Thu, 11 Sep 2008 22:57:25 +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 32714-02-10 for ; Thu, 11 Sep 2008 22:56:28 +0200 (CEST) Original-Received: from smtp20.orange.fr (smtp20.orange.fr [80.12.242.27]) by ronja.ntg.nl (Postfix) with ESMTP id 1CAF11FEDC for ; Thu, 11 Sep 2008 22:56:24 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2012.orange.fr (SMTP Server) with ESMTP id 341951C0009A for ; Thu, 11 Sep 2008 22:56:22 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-21-105.w90-49.abo.wanadoo.fr [90.49.112.105]) by mwinf2012.orange.fr (SMTP Server) with ESMTP id 085F51C00085 for ; Thu, 11 Sep 2008 22:56:22 +0200 (CEST) X-ME-UUID: 20080911205622344.085F51C00085@mwinf2012.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 04418307FD; Thu, 11 Sep 2008 22:56:21 +0200 (CEST) Mail-Followup-To: ConTeXt list Content-Disposition: inline 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:43924 Archived-At: Hello, I would like to adjust the height of each row. But I manage to get the desired result only with a seventh dummy 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 the dummy 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 ___________________________________________________________________________________