From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22654 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: Block of text with natrual width but right-aligned Date: Thu, 22 Sep 2005 11:22:18 +0100 Message-ID: <20050922102218.22158@mail.comp.lancs.ac.uk> References: <856859898.20050922113932@iol.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127384760 417 80.91.229.2 (22 Sep 2005 10:26:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2005 10:26:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 22 12:25:59 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 1EIOFs-00048T-Pe for gctc-ntg-context-518@m.gmane.org; Thu, 22 Sep 2005 12:24:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50D6E127C3; Thu, 22 Sep 2005 12:24: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 28221-08-4; Thu, 22 Sep 2005 12:24:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85F8B1278F; Thu, 22 Sep 2005 12:24:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 03E801278F for ; Thu, 22 Sep 2005 12:24: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 28221-08-3 for ; Thu, 22 Sep 2005 12:24:34 +0200 (CEST) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 1262D1276F for ; Thu, 22 Sep 2005 12:24:33 +0200 (CEST) Original-Received: from [192.168.31.101] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j8MAMKA7007006; Thu, 22 Sep 2005 11:22:32 +0100 (BST) Original-To: "mailing list for ConTeXt users" , "Giuseppe Bilotta" In-Reply-To: <856859898.20050922113932@iol.it> X-Mailer: CTM PowerMail version 5.2.1 build 4397 English 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:22654 Archived-At: Giuseppe Bilotta said this at Thu, 22 Sep 2005 11:39:32 +0200: > First line of text | > Second line of text | > One more line of text| > > >How do I achieve this? One quick and easy way, without worrying about low-level commands, is with two nested \framed's: \framed[width=broad,align=left,frame=off,offset=0pt] {\framed[align=raggedright,frame=off,offset=0pt] {First line of text\\ Second line of text\\ One more line of text}} (I played with location= in \framedtext, but it didn't have the results I expected.) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-