From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72700 Path: news.gmane.org!not-for-mail From: "Christian" Newsgroups: gmane.comp.tex.context Subject: Re: Double height rows using natural tables? Date: Fri, 25 Nov 2011 00:07:53 +0100 Message-ID: <011401ccaafd$e5a47570$b0ed6050$@gmx.de> References: <4ECEBEC4.6030906@waroc.com> <010e01ccaafb$1bd68aa0$53839fe0$@gmx.de> <4ECECC5D.5040102@waroc.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: dough.gmane.org 1322176094 7712 80.91.229.12 (24 Nov 2011 23:08:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2011 23:08:14 +0000 (UTC) To: , "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 00:08:10 2011 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 1RTiOn-0001os-Pu for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2011 00:08:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DF96CB139; Fri, 25 Nov 2011 00:08:09 +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 BkdfwSx0Rh3v; Fri, 25 Nov 2011 00:08:07 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0AC4ACB15A; Fri, 25 Nov 2011 00:08:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DFD9BCB15A for ; Fri, 25 Nov 2011 00:08:04 +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 aInmO-837fjX for ; Fri, 25 Nov 2011 00:08:02 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id C4E0CCB139 for ; Fri, 25 Nov 2011 00:08:02 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id pAON81lS004702 for ; Fri, 25 Nov 2011 00:08:02 +0100 Original-Received: (qmail invoked by alias); 24 Nov 2011 23:08:01 -0000 Original-Received: from f053214113.adsl.alicedsl.de (EHLO christiandelux) [78.53.214.113] by mail.gmx.net (mp047) with SMTP; 25 Nov 2011 00:08:01 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX19MNABJJINMfC8d+b1q3mWOpYrRqnki3JD7ALwDLQ 7YBMkwY6G1jsCO In-Reply-To: <4ECECC5D.5040102@waroc.com> X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQF21inSTIHKWjPjEuZKkzNMS5g6ywIpzpoEAo7cm22WQoigIA== Content-Language: de X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aG1b81Mi - 670bb56f0a21 - 20111125 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:72700 Archived-At: If you want all rows double height except the first, just do it the other way around. \setupTABLE[r][each][height=0.7in] and then for the first row: \bTR[height=0.35in] Then it's only 2 digits to change :) [nr=X] is for a cell spanning X rows. Hint: nr=number rows. So you'll get a single cell that reaches down X rows. it's not meant to be used to adjust the height of a row. Check this out, lots of examples: http://www.pragma-ade.com/general/manuals/enattab.pdf > Thank you, Christian. However, I find explicitly setting the row height a bit > awkward. What happens if I changed the height value in my \setupTABLE > directive? Then I would have to change all references to height in the table > explicitly. Also, my made up example is *only* of double rows. However, I > have the earlier example where this is a mixture of row spans across > different columns. It was just by chance that I was in a situation with all > adjacent cells in a particular row requiring a row span. > > Why would that be considered not an application of [nr=?]? And if it indeed > the case, shouldn't it be explicit that [nr=2] doesn't apply to an entire row? > > Regards. > > > On 11-11-24 05:47 PM, Christian wrote: > >> I have tried various combinations and have so far been unsuccessful > >> in getting a row of double height using natural tables. I am > >> following up and enclosing a minimal example, along with the a > >> previous incarnation using TABLE, which does give me the intended > layout. > >> > >> Any suggestions on how to do the same using natural tables would be > >> greatly appreciated. > > > > use the height parameter for the table row. also, I don't thik you've > understood the meaning of 'nr=2'. > > I suggest you read the wiki entry on TABLES: > > http://wiki.contextgarden.net/TABLE > > > > > > and here's your table back ;P : > > > > \bTABLE > > \bTABLEbody > > \bTR > > \bTD Circuit \eTD > > \bTD Description \eTD > > \bTD Circuit \eTD > > \bTD Description \eTD > > \eTR > > > > \bTR[height=0.7in] > > \bTD 7 \eTD \bTD Bedroom 4 Arc Fault Plug \eTD > > \bTD 8 \eTD \bTD \unused \eTD > > \eTR > > \eTABLEbody > > \eTABLE > > > > -- > ----- > - Pavneet Arora > > Waroc Fine Audio + Custom Home Cinema > www.waroc.com 416.937.WAROC (9276) > > __________________________________________________________ > _________________________ > 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 > __________________________________________________________ > _________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________