From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22272 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: How this LaTeX code could be translated into ConTeXt? Date: Sat, 3 Sep 2005 12:58:42 +0200 Message-ID: <6faad9f005090303586ec4cbba@mail.gmail.com> References: <43185055.4050304@virgilio.it> <431854ED.3040204@logosrl.it> <43188BCA.4000705@virgilio.it> <4318A156.2010007@elvenkind.com> <4318D49B.6000107@virgilio.it> <43194C96.8030700@elvenkind.com> Reply-To: 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 1125745159 9159 80.91.229.2 (3 Sep 2005 10:59:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2005 10:59:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 03 12:59: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 1EBVjZ-0006Dx-76 for gctc-ntg-context-518@m.gmane.org; Sat, 03 Sep 2005 12:58:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9829012827; Sat, 3 Sep 2005 12:58: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 32596-05; Sat, 3 Sep 2005 12:58:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF92F12803; Sat, 3 Sep 2005 12:58:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C2D3D12803 for ; Sat, 3 Sep 2005 12:58:44 +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 32672-02 for ; Sat, 3 Sep 2005 12:58:43 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by ronja.ntg.nl (Postfix) with ESMTP id 74C27127FF for ; Sat, 3 Sep 2005 12:58:43 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id n15so248313nfc for ; Sat, 03 Sep 2005 03:58:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SZMBSzN22DLqV8ZFhtLQ6KWUS8xXXpRSdVzvbZvRDWrYUrgxce7sIzpQzwiTdONtVx7MGkolhekI11irFFkue4rg6Y1auvCW0pJPmNu04grRvSreW9cd74J4uGGANPZHBTDBN8ZLFum7sN1S8a0yfbU5zPud8PN8xlGMQEiTSk0= Original-Received: by 10.49.5.18 with SMTP id h18mr189073nfi; Sat, 03 Sep 2005 03:58:42 -0700 (PDT) Original-Received: by 10.48.247.14 with HTTP; Sat, 3 Sep 2005 03:58:42 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <43194C96.8030700@elvenkind.com> 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:22272 Archived-At: Taco Hoekwater wrote: > Jilani Khaldi wrote: > > > > I just want to know how to have a table in Context with cells which can > > contain many lines each; something like this: >=20 > \starttabulate[|p(4cm)|p(2cm)|p(2cm)|] > \NC Header1 \NC header2 \NC header 3 \NC\NR > \NC This is a text splitted in 3 lines because it is very long > \NC 2005 \NC Thank you for the tip!\NC\NR > \stoptabulate Or (in the spirit of Taco's example): \bTABLE \setupTABLE[c][1][width=3D4cm] \setupTABLE[c][2,3][width=3D2cm] % 2nd and 3rd column \bTR \bTD Header1 \eTD \bTD header2 \eTD \bTD header3 \eTD \eTR \bTD This is a text splitted in 3 lines because it is very long \eTD \bTD 2005 \eTD \bTD Thank you for the tip! \eTD \eTABLE If text in a cell is very long, it will be splitted in more lines automatically, so that the table of width \textwidth will be produced. \bTABLE ... \eTABLE is already very clever, however, I don't know if you can do something similar as in the LaTeX example you provided, so that the overall table width is fixed to exactly 16 cm (also for a very small table, which should artificially be expanded) without having to provide the width of every single column. See enattab.pdf for more details about natural tables. Mojca