From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22630 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 14:22:25 +0200 Message-ID: <3cb063a60509210522340007c6@mail.gmail.com> Reply-To: Otared KAVIAN , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1127305501 2360 80.91.229.2 (21 Sep 2005 12:25:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2005 12:25:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 21 14:24:51 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 1EI3cR-0003Sl-CS for gctc-ntg-context-518@m.gmane.org; Wed, 21 Sep 2005 14:22:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53C9F127DC; Wed, 21 Sep 2005 14:22:34 +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 03775-05; Wed, 21 Sep 2005 14:22:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D82EA127C1; Wed, 21 Sep 2005 14:22:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D435E127C1 for ; Wed, 21 Sep 2005 14:22:27 +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 03685-05 for ; Wed, 21 Sep 2005 14:22:27 +0200 (CEST) Original-Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by ronja.ntg.nl (Postfix) with ESMTP id C8B5E1278A for ; Wed, 21 Sep 2005 14:22:26 +0200 (CEST) Original-Received: by zproxy.gmail.com with SMTP id 8so283085nzo for ; Wed, 21 Sep 2005 05:22:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Znq2pw2RsKjGfxOoFsSHumO8HEwkFpnZD3AnoEFY/lVcXjD37jKZwtufoM2Likpko5O1GUkxqFxGvgOzLfkzSz7OJhLUBzwwhJDp76MNWIgrDQtIOSeNA2maaiSdQPesnD++JFlUSY+5oMUbkMShtyaeDvPqofhfQOf7VyXc1YY= Original-Received: by 10.54.97.12 with SMTP id u12mr2450083wrb; Wed, 21 Sep 2005 05:22:25 -0700 (PDT) Original-Received: by 10.54.124.13 with HTTP; Wed, 21 Sep 2005 05:22:25 -0700 (PDT) Original-To: mailing list for ConTeXt users Content-Disposition: inline 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:22630 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=3D15,number_of_columns=3D4] Thanks for your insight: OK %%%%%%%%%%%%%%%%%%%% Mojca's solution \setupcolors[state=3Dstart] \starttext % row 1 \setupTABLE[r][1][style=3Dbold,background=3Dcolor,backgroundcolor=3Dgreen,a= lign=3Dmiddle] \setupTABLE[c][1][width=3D3cm] % column 1 \setupTABLE[c][3][width=3D2.75cm] % column 3 \setupTABLE[c][4][width=3D7cm] \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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%