From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10718 Path: main.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: aligned text block Date: Mon, 3 Feb 2003 18:15:25 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <1576F1E4-379B-11D7-BA2F-0003931D13E2@mac.com> References: <428BF8DA-3795-11D7-94ED-0030659899AA@fiee.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1044292856 23479 80.91.224.249 (3 Feb 2003 17:20:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 17:20:56 +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 18fkCH-0005X7-00 for ; Mon, 03 Feb 2003 18:15:53 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9A53C10B3C; Mon, 3 Feb 2003 18:17:48 +0100 (MET) Original-Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by ref.ntg.nl (Postfix) with ESMTP id A005810B34 for ; Mon, 3 Feb 2003 18:15:39 +0100 (MET) Original-Received: from fermat.math.uvsq.fr (root@fermat.math.uvsq.fr [193.51.32.1]) by soleil.uvsq.fr (8.12.3/jtpda-5.4) with ESMTP id h13HFdEM000364 for ; Mon, 3 Feb 2003 18:15:39 +0100 (CET) Original-Received: from mac.com (Mac22.math.uvsq.fr [193.51.32.222]) by fermat.math.uvsq.fr (8.12.3/jtpda-5.4) with ESMTP id h13HFdex084456 for ; Mon, 3 Feb 2003 18:15:39 +0100 (CET) Original-To: ntg-context@ntg.nl In-Reply-To: <428BF8DA-3795-11D7-94ED-0030659899AA@fiee.net> X-Mailer: Apple Mail (2.551) X-Antivirus: scanned by sophie at soleil.uvsq.fr 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:10718 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10718 On lundi, f=E9v 3, 2003, at 17:33 Europe/Paris, Henning Hraban Ramm = wrote: >>> What's the easiest way to right-align a left-aligned block of text? >> >> \startalignmen[right] %left,middle >> >> The lines >> \stopalignment > > No, that's a simple left-aligned (raggedright) block of text. > I need to right-align a left-aligned block, like this: > > | > one line | > a very long line| > another line | > | > > The text should go as far to the right as the longest line allows. > > Gr=FC=DFlis vom Hraban! > Using Plain TeX macros, which work also in ConTeXt, I do it the=20 following way (which is probably not elegant...): \starttext \vbox{ \hbox{\bf laboratoire\dots}\medskip \line{\it universit\'e de versailles\hfill cnrs (umr 7641)} \vskip .3 true cm \hrule \vskip .3 true cm \line{% \vtop{ \hbox{Laboratoire\dots } \hbox{B\^atiment Fermat} \hbox{Universit\'e de Versailles} \hbox{45, avenue des \'Etats-Unis} \hbox{78035 Versailles cedex} \hbox{France}} \hss\vtop{ \hbox{t\'el\'ephone : 01 39 25 25 25} \hbox{{secr\'etariat : num\'ero \`a pr\'eciser plus tard}} \hbox{fax : 01 39 25 25 25} } } } \stoptext