From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22276 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: How this LaTeX code could be translated into ConTeXt? Date: Sat, 03 Sep 2005 15:30:05 +0200 Message-ID: <4319A55D.2080900@seznam.cz> 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> <6faad9f005090303586ec4cbba@mail.gmail.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; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1125754236 28485 80.91.229.2 (3 Sep 2005 13:30:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2005 13:30:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 03 15:30:33 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 1EBY5m-0001l5-3I for gctc-ntg-context-518@m.gmane.org; Sat, 03 Sep 2005 15:29:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 482FC12825; Sat, 3 Sep 2005 15:29:57 +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 01073-04; Sat, 3 Sep 2005 15:29:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 94CA1127D3; Sat, 3 Sep 2005 15:29:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 63920127D3 for ; Sat, 3 Sep 2005 15:29: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 01061-07 for ; Sat, 3 Sep 2005 15:29:50 +0200 (CEST) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 4608E127B8 for ; Sat, 3 Sep 2005 15:29:50 +0200 (CEST) Original-Received: (qmail 4043 invoked from network); 3 Sep 2005 13:29:49 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by tic.go.seznam.cz with ESMTPA; 3 Sep 2005 13:29:49 -0000 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f005090303586ec4cbba@mail.gmail.com> X-Antivirus: avast! (VPS 0535-0, 29.08.2005), Outbound message X-Antivirus-Status: Clean 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:22276 Archived-At: Mojca Miklavec wrote: > Taco Hoekwater wrote: >=20 >>Jilani Khaldi wrote: >> >>>I just want to know how to have a table in Context with cells which ca= n >>>contain many lines each; something like this: >> >> \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 >=20 >=20 > Or (in the spirit of Taco's example): >=20 > \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 \eT= D > \bTD 2005 \eTD > \bTD Thank you for the tip! \eTD > \eTABLE >=20 > 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 \bTABLE[option=3Dstretch,textwidth=3D16cm] =2E.. \eTABLE vit > very small table, which should artificially be expanded) without > having to provide the width of every single column. >=20 > See enattab.pdf for more details about natural tables. >=20 > Mojca > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >=20 --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Ing. V=EDt Z=FDka, Ph.D. TYPOkv=EDtek database publishing databazove publikovani data maintaining and typesetting in typographic quality priprava dat a jejich sazba v typograficke kvalite tel.: (+420) 777 198 189 www: http://typokvitek.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D