From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1302 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Width between section head and first paragraph depending on \setupwhitespace?? Date: Fri, 19 Nov 1999 07:09:06 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.19991119070906.0094b280@pop.wxs.nl> References: <00d001bf320c$03340380$0321a8c0@bmach.nederware.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035392134 31570 80.91.224.250 (23 Oct 2002 16:55:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:55:34 +0000 (UTC) Cc: Original-To: "Berend de Boer" In-Reply-To: <00d001bf320c$03340380$0321a8c0@bmach.nederware.nl> Xref: main.gmane.org gmane.comp.tex.context:1302 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1302 At 10:29 PM 11/18/99 +0100, Berend de Boer wrote: >I detected that \setupwhitespace also influences the white space between >section and the first line of that section. Aren't these not totally >unrelated values?? \def\simpledoblanko% {\doifelse{\currentwitruimte}{\v!geen} {\blanko[\currentblanko]} {\blanko[\currentwitruimte]}} Since many default spacings are defined in terms of simple \blank (\blanko in dutch), indeed you will get (according to this definition) a whitespace. Long ago we found this more acceptable. The most simple way we can deal with this is indirecion (sorry for the mix of dutch / english, will be english low level some day): \unprotect \def\simpledoblanko% {\doifelse{\currentwitruimte}{\v!geen} {\blanko[\currentblanko]} {\blanko[\s!default]}} \definieerblanko [\s!default] [\v!wit] \protect When added to cont-new.tex, you can say: \defineblank[default][big] nice eh? Your whole doc spacing changed in one command. Now it's up to you to remind me to document this. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------