From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69431 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with \definehead Date: Thu, 23 Jun 2011 14:17:56 +0200 Message-ID: <2DBC0BA9-95EB-4540-844D-8221D3DD73CD@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308831503 14337 80.91.229.12 (23 Jun 2011 12:18:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 12:18:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 23 14:18:19 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 1QZirS-0004C4-6J for gctc-ntg-context-518@m.gmane.org; Thu, 23 Jun 2011 14:18:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9290ACAE1A; Thu, 23 Jun 2011 14:18:17 +0200 (CEST) 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 VLb0LbsKmNCo; Thu, 23 Jun 2011 14:18:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5DB0CADFA; Thu, 23 Jun 2011 14:18:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4342CADFA for ; Thu, 23 Jun 2011 14:18:11 +0200 (CEST) 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 ERE6zc88Epsg for ; Thu, 23 Jun 2011 14:18:00 +0200 (CEST) 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 DC59ACADEB for ; Thu, 23 Jun 2011 14:18:00 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5NCI0LC012383 for ; Thu, 23 Jun 2011 14:18:00 +0200 Original-Received: by fxm18 with SMTP id 18so1773591fxm.14 for ; Thu, 23 Jun 2011 05:18:00 -0700 (PDT) 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=SJYRnDGcchFziNDYSAT9b51+1xGUKdVbWqXi6my+nPQ=; b=c8UFi+Xwim2ZTqvBcNLtIf9ZEK634lKgnKqbW4adnGbopjwghpLZHiPOrZAy1Q4LXh xJDGad3xDa1Kyc2T0JZ19EDEJk1Dlk+GEP2zPxV6unJ1JPh0nHSrrQffu1fCh4VZAiL1 PnNAAO3bE6ILgBpVxTsgGaSc+GPseo91v6944= 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=Id/T4va+HPDttnlOS8Bywf1n448YvSTcumdRROmjedVM9J/5j8wEWA5NK7zgfd5YoU 4JbBFzga7SxSV3d8D3odY2OKNBl6LPiat6hfzqjUpKfic0nH8BmBgzBEfPrg61ui8EI2 tLvLbv7eT9rI9zg7/y5Faa9yVzmFZJmKPISuE= Original-Received: by 10.223.5.212 with SMTP id 20mr2608820faw.40.1308831479882; Thu, 23 Jun 2011 05:17:59 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EF7D8.dip.t-dialin.net [91.14.247.216]) by mx.google.com with ESMTPS id q14sm951933faa.3.2011.06.23.05.17.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Jun 2011 05:17:58 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0rEXoi0Bt - 46a46dcff49f - 20110623 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:69431 Archived-At: Am 23.06.2011 um 11:03 schrieb Proch=E1zka Luk=E1=9A Ing. - Pontex s. r. o.: > Its goal is to define \(start/stop)TitlePage command in which heads will = be centred (although they are not mid-aligned by default). > = > (I don't know if my approach is the best - I'm using \chapterMiddle inste= ad of \chapter for this, which is defined as mid-aligned). > = > A \chapterMiddle is derrived from \chapter and has middle alignment. > = > I would need to do a similar thing with \sectionMiddle. > = > The problem is that when I derive a next style - "\definehead[sectionMidd= le][section]" (try to comment the proper line), look of the TOC changes (?!= ) - some extra space before "Cha2" appears; see both test21.pdf and test22.= pdf. > = > So how to keep the same look of the TOC? > = > And - would you recommend any better solution how to define \(start/stop)= command which would force heads to be mid-aligned? Don=92t misuse headings for your titlepage. As a titlepage is something spe= cial you can use \midaligned, \definedfont etc. to format it, e.g. \starttext \starttextmakeup[align=3Dmiddle] \definedfont[SansBold sa 2]My Document \stoptextmakeup =85 \stoptext 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 ___________________________________________________________________________= ________