From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21706 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: \parbox, \framed, ... (was: Strange behaviour of \bTABLE ... \eTABLE) Date: Fri, 29 Jul 2005 13:25:42 +0200 Message-ID: <6faad9f005072904253246f61a@mail.gmail.com> References: <6faad9f005072608417b09c1c9@mail.gmail.com> <42E6B637.7070304@wxs.nl> Reply-To: Mojca Miklavec , 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 1122636489 27150 80.91.229.2 (29 Jul 2005 11:28:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2005 11:28:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 29 13:28:03 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 1DyT1m-0003uz-2G for gctc-ntg-context-518@m.gmane.org; Fri, 29 Jul 2005 13:27:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8151312822; Fri, 29 Jul 2005 13:27: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 05204-01; Fri, 29 Jul 2005 13:27:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D02B12820; Fri, 29 Jul 2005 13:25:46 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D60D212820 for ; Fri, 29 Jul 2005 13:25: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 05024-02 for ; Fri, 29 Jul 2005 13:25:43 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.194]) by ronja.ntg.nl (Postfix) with ESMTP id D906412816 for ; Fri, 29 Jul 2005 13:25:43 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id x37so134344nfc for ; Fri, 29 Jul 2005 04:25:42 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fAQbFqOrzcMjIQ1QITq9tNWR7BNkuY5cy+tg4WZj/CnZld6wakODqqYJJb9eGV0NTBRBzNUDJRL9BREb5bsQke1TuOukgAvhKkfdmj7l6lK0dyCPO0/InHs/1RIu+H7GSATxdt6iBEN9QBHUoM11Y3UoUZYcAEmg4pFkEoTP/Os= Original-Received: by 10.48.3.17 with SMTP id 17mr107422nfc; Fri, 29 Jul 2005 04:25:42 -0700 (PDT) Original-Received: by 10.48.247.2 with HTTP; Fri, 29 Jul 2005 04:25:42 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <42E6B637.7070304@wxs.nl> 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:21706 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21706 Hans Hagen wrote: > Mojca Miklavec wrote: >=20 > >1.) I saw \hbox, \vbox, \vtop, \lbox, \cbox, \rbox, \sbox, \tbox, > >\bbox on page 106 of cont-eni.pdf. But if I understand it properly, > >there's no alternative to LaTeX \parbox command. > >1.1.) After grep-ing the LaTeX tree for "\parbox", my disk ran out of sp= ace > >1.2.) \bTABLE ... \eTABLE seems too complicated to me to be used for > >such a simple thing as asking for a paragraph of a certain width, > >centered with regard to the current line. > > > as always, it's \framed that does the trick: >=20 > \input tufte \framed[location=3Dmiddle,align=3Dcenter]{what\\is a\\parbo= x} > \input tufte Thank you a lot. I didn't know the location=3Dmiddle option (yupi, no need for \vcenter any more :). Without align=3D, \framed behaves pretty much like a \hbox. So once I unsuccessfully tried \crlf and \\ inside \framed a couple of times, I gave up, forgetting about some nice examples in the manual. But how do I get rid of the blank line in this example: \framed =09[align=3Dflushleft] =09{\typefile{tufte.tex}} Thank you, Mojca