From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22628 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Number of rows in tables Date: Wed, 21 Sep 2005 11:02:39 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127293399 29566 80.91.229.2 (21 Sep 2005 09:03:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2005 09:03:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 21 11:03:17 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EI0VA-0006De-5c for gctc-ntg-context-518@m.gmane.org; Wed, 21 Sep 2005 11:02:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F68B127DF; Wed, 21 Sep 2005 11:02:51 +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 02650-03; Wed, 21 Sep 2005 11:02:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 645F9127BF; Wed, 21 Sep 2005 11:02:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 971D9127BF for ; Wed, 21 Sep 2005 11:02:45 +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 02720-02-2 for ; Wed, 21 Sep 2005 11:02:44 +0200 (CEST) Original-Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by ronja.ntg.nl (Postfix) with ESMTP id 85DEA127BB for ; Wed, 21 Sep 2005 11:02:44 +0200 (CEST) Original-Received: by xproxy.gmail.com with SMTP id i30so131902wxd for ; Wed, 21 Sep 2005 02:02:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=gPKOQpcYCFWqZm+S9eNfaseGTIT/pxmWRUtlvuXMVPsXRfSz26etMqk6w7BKoY1itDfLJ2NF28i27Ei8f776CLLUnwwPt3Uzmx8IZJzfTSEukPvec4QO9qfrNHli1UqVaNysEsIBUu9cNK3x4HGw/mOtLq4roO9K/rWIBBMfwcw= Original-Received: by 10.70.113.7 with SMTP id l7mr2268412wxc; Wed, 21 Sep 2005 02:02:43 -0700 (PDT) Original-Received: from ?10.0.1.121? ( [82.123.131.157]) by mx.gmail.com with ESMTP id i36sm2717536wxd.2005.09.21.02.02.42; Wed, 21 Sep 2005 02:02:43 -0700 (PDT) Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.734) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22628 Archived-At: Hi everyone, In the process of learning the table mechanism I followed the discussions on the list, but could not figure out whether it is possible to create a table with a given number of rows. For instance, is it possible to add something to Mojca's solution for cells with backgrounds (see below) to have a table with (for example) 15 rows? Something like \setupTable[number_of_rows=15,number_of_columns=4] Thanks for your insight: OK %%%%%%%%%%%%%%%%%%%% Mojca's solution \setupcolors[state=start] \starttext % row 1 \setupTABLE[r][1] [style=bold,background=color,backgroundcolor=green,align=middle] \setupTABLE[c][1][width=3cm] % column 1 \setupTABLE[c][3][width=2.75cm] % column 3 \setupTABLE[c][4][width=7cm] \bTABLE \bTR \bTD Name \eTD \bTD Location \eTD \bTD Date \eTD \bTD Signature \eTD \eTR \bTR \bTD\strut \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \eTABLE \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%