From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72702 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:23:40 +0100 Message-ID: <012201ccab00$1ae00360$50a00a20$@gmx.de> References: <4ECEBEC4.6030906@waroc.com> <010e01ccaafb$1bd68aa0$53839fe0$@gmx.de> <4ECECC5D.5040102@waroc.com> <011401ccaafd$e5a47570$b0ed6050$@gmx.de> <4ECED00B.7090607@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 1322177056 14299 80.91.229.12 (24 Nov 2011 23:24:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2011 23:24:16 +0000 (UTC) To: , "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 00:24:11 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 1RTieG-0007gM-0M for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2011 00:24:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52B47CB1C5; Fri, 25 Nov 2011 00:24:07 +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 tysXolacQ7MZ; Fri, 25 Nov 2011 00:24:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 517E9CB19F; Fri, 25 Nov 2011 00:24:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C4B8CB19F for ; Fri, 25 Nov 2011 00:24:02 +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 ikUzspy000Bt for ; Fri, 25 Nov 2011 00:23:50 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id CEC37CB195 for ; Fri, 25 Nov 2011 00:23:50 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id pAONNnWZ030374 for ; Fri, 25 Nov 2011 00:23:50 +0100 Original-Received: (qmail invoked by alias); 24 Nov 2011 23:23:49 -0000 Original-Received: from f053214113.adsl.alicedsl.de (EHLO christiandelux) [78.53.214.113] by mail.gmx.net (mp037) with SMTP; 25 Nov 2011 00:23:49 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX1/rxbhuaFHrTcN5CsfscrMhicwN2OF3TTEUi9oj2s obeFhDU9q/wL+E In-Reply-To: <4ECED00B.7090607@waroc.com> X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQF21inSTIHKWjPjEuZKkzNMS5g6ywIpzpoEAo7cm20BV1ABOQIp9zZJliaDkEA= 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: 03G1bnOPa - 4cd83f5403fb - 20111125 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:72702 Archived-At: Now I don't get it :D What do you want to accomplish? Maybe an annotated screenshot would help? anyway, here's a another tip: \setupTABLE[r][4][topframe=on] \setupTABLE[r][6][topframe=on] \setupTABLE[r][8][topframe=on] \setupTABLE[r][10][topframe=on] \setupTABLE[r][12][topframe=on] \setupTABLE[r][16][topframe=on] = \setupTABLE[r][4,6,8,10,16][topframe=on] > Yes, I get that part. Perhaps, a larger example will illustrate . > > Enclosed is a simple electrical panel. Many are 40 or 60 circuits large. Note > that you have an assortment of cells spanning rows depending on breaker > size. > It is only by chance that in a particular case adjacent breaker might utilize the > full slot. Hence the [nr=2] approach. So in the given panel, if circuits > 15 and 16 were both double-pole, it would be incorrect to label them as > 15A/15B and 16A/16B. Then for that particular 'row' I would need double > height. > > On 11-11-24 06:07 PM, Christian wrote: > > 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 > >> > __________________________________________________________ > >> _________________________ > > > > -- > ----- > - 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 ___________________________________________________________________________________