From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10789 Path: main.gmane.org!not-for-mail From: Guy Worthington Newsgroups: gmane.comp.tex.context Subject: Re: aligned text block Date: 06 Feb 2003 11:37:41 +0800 Sender: ntg-context-admin@ntg.nl Message-ID: References: <001501c2ccf4$bfdeee60$0100a8c0@vademecum> <81938030-38F5-11D7-8CD5-0030659899AA@fiee.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044502288 18832 80.91.224.249 (6 Feb 2003 03:31:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 03:31:28 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gcke-0004sC-00 for ; Thu, 06 Feb 2003 04:31:00 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CFE5910B49; Thu, 6 Feb 2003 04:32:59 +0100 (MET) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by ref.ntg.nl (Postfix) with ESMTP id 84D3010B25 for ; Thu, 6 Feb 2003 04:31:13 +0100 (MET) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18gcit-0004lr-00 for ; Thu, 06 Feb 2003 04:29:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ref.ntg.nl Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18gcir-0004lZ-00 for ; Thu, 06 Feb 2003 04:29:09 +0100 Original-Lines: 37 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10789 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10789 Henning Hraban Ramm wrote: > In my example the line at the right is the right border of the > \textwidth. > | > one line | > a very long line| > another line | > | Still alot of manual intervention but ... you could switch to two column mode, calculate your longest line in your address and use that as the width of your second column. %-- tryAddress.tex -------------------------------------------- \starttext \setbox\scratchbox\hbox{ADE Ridderstraat 27}% Longest line in address \defineparagraphs[LongIndentation][n=2] \setupparagraphs[LongIndentation][2][width=\wd\scratchbox] \startLongIndentation \LongIndentation% Start second column \startlines PRAGMA ADE Ridderstraat 27 8061 GH Hasselt NL +31 (0)38 477 53 69 \stoplines \stopLongIndentation \showframe \stoptext %-- end tryAddress.tex ----------------------------------------