From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66704 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: structure head alignment nullifies spaceskip Date: Sun, 6 Mar 2011 21:15:44 +0100 Message-ID: <544DE72B-7FF1-4164-8B86-B5487580576A@gmail.com> References: <20110306163311.GA12422@orcus> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299442573 17863 80.91.229.12 (6 Mar 2011 20:16:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 20:16:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 06 21:16:08 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 1PwKN4-000493-6r for gctc-ntg-context-518@m.gmane.org; Sun, 06 Mar 2011 21:16:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6073FCAAB0; Sun, 6 Mar 2011 21:16:05 +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 TmOzaCrOdCCu; Sun, 6 Mar 2011 21:16:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 515A0CAAAC; Sun, 6 Mar 2011 21:16:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A64FCAAAC for ; Sun, 6 Mar 2011 21:16:01 +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 JSWkLpaNdwPU for ; Sun, 6 Mar 2011 21:15:49 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id A8D80CAA16 for ; Sun, 6 Mar 2011 21:15:49 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p26KFmik015255 for ; Sun, 6 Mar 2011 21:15:48 +0100 Original-Received: by bwz17 with SMTP id 17so4632466bwz.14 for ; Sun, 06 Mar 2011 12:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=PUKvsxW/jiVghMJ69ZiiLdfDaLaa/a8aXzwAuIS4Fuo=; b=itdoKsLjzFLCNi1W7NwyxOKFCWlxHSDC4NPSvq7o3IhYhki9O3EaIAobbMT4ophK1v sgru0h6ThBWxxyPqwIZ+fZs5cvCyPwgAka8iHuG0Kaj+5CaGMTNVjtxw64qTv7iW+xTY AmzmTFrxscSdwtZCS4O02PmIbS7YJHNaJZOfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=lni5XOWimVKkAHj9L0gwBarO3uwkQ0o7RfKuGkBn8gvAR/QlvRnMssvOF50Nq7Bp5Y BYXSTF5BmCsWXEP08oRsyd4Mu235P42ZbqiaKBn/1gKIb9GaFjHZFnBgLJ3Oh5ndozU+ F8mLFlwp6jS8oUsQ8MGhy2u0viZz42Of/qx3g= Original-Received: by 10.204.142.79 with SMTP id p15mr1505965bku.35.1299442547871; Sun, 06 Mar 2011 12:15:47 -0800 (PST) Original-Received: from [192.168.2.23] (p5B293894.dip.t-dialin.net [91.41.56.148]) by mx.google.com with ESMTPS id u23sm1256578bkw.21.2011.03.06.12.15.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Mar 2011 12:15:47 -0800 (PST) In-Reply-To: <20110306163311.GA12422@orcus> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 0rEfUfMfl - b3c27c9220c1 - 20110306 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:66704 Archived-At: Am 06.03.2011 um 17:33 schrieb Philipp Gesang: > Hi, > = > is there a way to have \spaceskip working in a centered section > head? > = > I have something similar to these exaggerated values: > = > =B7=B78<=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > = > \def\broadspacing{% > \dontleavehmode% > \spaceskip 1em plus .5em minus .5em% > } > \starttext > = > \setuphead[section][% > style=3D{\WORD\broadspacing}, > ] > = > % This one is left aligned but correctly spaced. > \section{test test test} > = > \setuphead[section][% > style=3D{\WORD\broadspacing}, > align=3Dmiddle, > ] > = > % This one is centered but spaced too tightly. > \section{test test test} > = > \stoptext > = > =B7=B78<=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7= =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 > = > As you can see, adding =93align=3Dmiddle=94 to the section setup leads > to the \spaceskip setting being ignored. Any idea how to space my > capitalized words in section heads? \setuphead [section] [ style=3DWORD, align=3Dmiddle, textcommand=3D{\setuptolerance[space]}] Maybe better is =93textcommand=3D\SectionCommand=94 with \define[1]\SectionCommand {\setuptolerance[space]#1} 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 ___________________________________________________________________________= ________