From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73243 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: optical centering... Date: Fri, 16 Dec 2011 19:26:20 +0100 Message-ID: <59DF6886-A501-4936-8B93-DB9FB54F41ED@googlemail.com> References: <5EE11CDB-9684-4352-997C-6E1023ACEC6B@googlemail.com> <4EEB08AC.4040902@wxs.nl> <68C98C03-7441-4B00-8B45-8C4749517E80@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324060025 21615 80.91.229.12 (16 Dec 2011 18:27:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 18:27:05 +0000 (UTC) Cc: Mailing list for ConTeXt users , Hans Hagen To: Chris Lott Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 16 19:26:59 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbcUj-0002az-MS for gctc-ntg-context-518@m.gmane.org; Fri, 16 Dec 2011 19:26:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 618E7CB174; Fri, 16 Dec 2011 19:26:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DN3cXaEyE6wE; Fri, 16 Dec 2011 19:26:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00061CB176; Fri, 16 Dec 2011 19:26:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73755CB176 for ; Fri, 16 Dec 2011 19:26:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5i+4+zGOgzVh for ; Fri, 16 Dec 2011 19:26:33 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 905BFCB174 for ; Fri, 16 Dec 2011 19:26:33 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBGIQWP5030022 for ; Fri, 16 Dec 2011 19:26:32 +0100 Original-Received: by eekc41 with SMTP id c41so4041148eek.14 for ; Fri, 16 Dec 2011 10:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=PpkpvyxMHwUIkZuV9urPlK9fCtb6UUko1vvB2HvFOMk=; b=vfJSn4EVoCHC/ANg5w2WHb00/r/AZYnANlZCGTWINfEfx6F7dkPjPDKN95D/WGUgC/ JxPuyKtSiPrFXPlHL6CU3npQ4UPv8YisY1IeV/fCcGadYPRE+w4loeSDNIOl3m70k6ef QHFv9L33sxJcqV0cubDWRnfOiPi79wjxn2s4o= Original-Received: by 10.14.123.16 with SMTP id u16mr3514246eeh.30.1324059991920; Fri, 16 Dec 2011 10:26:31 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB3DF.dip.t-dialin.net. [87.175.179.223]) by mx.google.com with ESMTPS id x12sm81291eef.9.2011.12.16.10.26.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Dec 2011 10:26:30 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cG9Sqw6B - 23de4773e7b0 - 20111216 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73243 Archived-At: Am 16.12.2011 um 18:37 schrieb Chris Lott: > On Fri, Dec 16, 2011 at 8:26 AM, Wolfgang Schuster > wrote: >> Centered text based on the longest line is simple but when it=92s >> better to make this a feature of the lines environment. > = > Yeah, but it *isn't* based on the longest line, but on an average of > line length. I guess that's why it is call...well, except for the > first example in the doc provided, which is what I think your code > does. > = > Though the code you provided is very useful, so thanks! I showed only it=92s not so hard to achieve this feature but with a more complex solution where you check the width of each line you can use different values for the margins. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________