From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21593 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Strange behaviour of \bTABLE ... \eTABLE Date: Tue, 26 Jul 2005 00:23:21 +0200 Message-ID: <42E56659.70508@gmail.com> References: <42E52F0C.5070208@gmail.com> <42E54EC6.6070407@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122330258 30731 80.91.229.2 (25 Jul 2005 22:24:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2005 22:24:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 00:24:12 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 1DxBMK-0004Yf-Gh for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2005 00:23:40 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2886C12802; Tue, 26 Jul 2005 00:23:40 +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 09088-03-4; Tue, 26 Jul 2005 00:23:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF340127C4; Tue, 26 Jul 2005 00:23:35 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C6D1127C4 for ; Tue, 26 Jul 2005 00:23:35 +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 09088-03-3 for ; Tue, 26 Jul 2005 00:23:34 +0200 (CEST) Original-Received: from avs2.arnes.si (avs2.arnes.si [193.2.1.75]) by ronja.ntg.nl (Postfix) with ESMTP id 125A6127AA for ; Tue, 26 Jul 2005 00:23:33 +0200 (CEST) Original-Received: from localhost (avs2.arnes.si [193.2.1.75]) by avs2.arnes.si (Postfix) with ESMTP id 9617926D02B for ; Tue, 26 Jul 2005 00:23:33 +0200 (CEST) Original-Received: from avs2.arnes.si ([193.2.1.75]) by localhost (avs2.arnes.si [193.2.1.75]) (amavisd-new, port 10024) with ESMTP id 07917-08 for ; Tue, 26 Jul 2005 00:23:33 +0200 (CEST) Original-Received: from [141.84.28.143] (a143.lmu.vpn.lrz-muenchen.de [141.84.28.143]) by avs2.arnes.si (Postfix) with ESMTP id 2484326D023 for ; Tue, 26 Jul 2005 00:23:28 +0200 (CEST) User-Agent: Mozilla/4.5-4.75 (Windows; U; Windows NT 5.1; sl-SI; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: sl, en, en-us, de Original-To: mailing list for ConTeXt users In-Reply-To: <42E54EC6.6070407@wxs.nl> X-Virus-Scanned: by amavisd-new at arnes.si 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:21593 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21593 Hans Hagen wrote: > Mojca Miklavec wrote: >> On the wiki (http://contextgarden.net/Vertically_centred) a while ago >> someone asked how to do the following in ConTeXt: >> >> %%%%%% >> >> \documentclass{article} >> \begin{document} >> a box with a table: >> \fbox{\begin{tabular}[c]{l}1\\2\\3\end{tabular}}\par >> >> a midaligned parbox: \parbox[c]{1em}{1 2 3} >> \end{document} >> >> %%%%%% >> > ^^^^ watch the \\ ! ! ! ! Thanks, Hans, I'm sorry. I take my word about strange line breaking back. But nevertheless ... the live.contextgarden.net version seems to have problems with all these examples. It does strange things (see the PNGs attached to my first posting). I don't have the newest version installed, so I can't test test it here. Mojca > so, in order to compare, use 1\\2\\3 here too > > \setupTABLE[frame=on] % only for debugging reasons > \setupTABLE[c][1,2][align=lohi] % to center vertically (any better way?) > \bTABLE > \bTR\bTD > a midaligned parbox: > \eTD\bTD[offset=overlay,width=1em] % 1em wide paragraph > 1 2 3 > \eTD\eTR > \bTR\bTD > a midaligned parbox: > \eTD\bTD[offset=overlay,width=1em] % 1em wide paragraph > \ruledhbox{1 2} 3 > \eTD\eTR > \bTR\bTD > a midaligned parbox: > \eTD\bTD[offset=overlay,width=1em] % 1em wide paragraph > 1\\2\\3 > \eTD\eTR > \eTABLE