From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85338 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Space before chapters Date: Tue, 19 Nov 2013 21:34:49 +0100 Message-ID: <528BCB69.8080508@wxs.nl> References: <011d01cee565$4fdc0540$ef940fc0$@tosovsky@email.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384893291 6810 80.91.229.3 (19 Nov 2013 20:34:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2013 20:34:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 19 21:34:58 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vis0e-0005FJ-3t for gctc-ntg-context-518@m.gmane.org; Tue, 19 Nov 2013 21:34:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58EA4101F2; Tue, 19 Nov 2013 21:34:55 +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 9fsh16QovYYS; Tue, 19 Nov 2013 21:34:53 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 77B4B101E9; Tue, 19 Nov 2013 21:34:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14B0F101E9 for ; Tue, 19 Nov 2013 21:34:52 +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 8iAZKa7cMeZM for ; Tue, 19 Nov 2013 21:34:51 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 410B3101DE for ; Tue, 19 Nov 2013 21:34:51 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAJKYo2N029515 for ; Tue, 19 Nov 2013 21:34:50 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 394-1713362 for ; Tue, 19 Nov 2013 21:34:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <011d01cee565$4fdc0540$ef940fc0$@tosovsky@email.cz> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VKPwyO2v - 7c5a1221bc62 - 20131119 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85338 Archived-At: On 11/19/2013 9:24 PM, Jan Tosovsky wrote: > Dear All, > > after two hours of investigating wiki and various commands I am giving up... > > Is there any way to set a bit of white space before my chapter title? > > (1) I've thought that before={\blank[20mm]} should do the job. It works for > sections, but here I suspect it is ignored as my chapter start on a new > page. > > (2) numbercommand=\groupedcommand{\blank[20mm]}{\blank[4mm]} - this works as > expected, but only for numbered titles - I need it also for TOC and Preface. > > (3) commandbefore={\blank[20mm]} - it inserts the space between the number > and title > > I have no idea what else to try... > > \setuphead[chapter][ > alternative=middle, > %before={\blank[20mm]}, > %commandbefore={\blank[20mm]}, > numbercommand=\groupedcommand{\blank[20mm]}{\blank[4mm]}, > %numbercommand=\groupedcommand{}{\blank[4mm]}, > ] > > \starttext > \startfrontmatter > \chapter{Intro}text > \startfrontmatter > \startbodymatter > \chapter{Chapter}text > \stopbodymatter > \stoptext > > Any help is highly appreciated. before={\blank[force,20mm]}, whitespace at the top of a page is discarded otherwise ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________