From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78148 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \abovedisplayskip and \belowdisplayskip Date: Thu, 6 Sep 2012 23:13:35 -0400 (EDT) Message-ID: References: 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 1346987635 30409 80.91.229.3 (7 Sep 2012 03:13:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2012 03:13:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 07 05:13:58 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9p12-0001SI-2x for gctc-ntg-context-518@m.gmane.org; Fri, 07 Sep 2012 05:13:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97038101E5; Fri, 7 Sep 2012 05:13:52 +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 rGu2ah3ueXVh; Fri, 7 Sep 2012 05:13:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 821F5101E7; Fri, 7 Sep 2012 05:13:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 107CC101E7 for ; Fri, 7 Sep 2012 05:13:49 +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 qZpz2zZ8-b1Z for ; Fri, 7 Sep 2012 05:13:47 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id AB296101E5 for ; Fri, 7 Sep 2012 05:13:47 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q873Diaq030179 for ; Fri, 7 Sep 2012 05:13:46 +0200 Original-Received: FROM mint (bas3-montreal02-1096679445.dsl.bell.ca [65.94.0.21]) By hackers.mr.itd.umich.edu ID 50496667.28119.5039 ; Authuser adityam; 6 Sep 2012 23:13:43 EDT In-Reply-To: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08HU3dJX4 - d61423370f3c - 20120907 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:78148 Archived-At: On Thu, 6 Sep 2012, Troy Henderson wrote: > It is my understanding that \abovedisplayskip and \belowdisplayskip should > adjust how much (rubber) spacing that is allowed between display math > formulas. I have attached a ConTeXt file (bug.tex) that seems to indicate > that setting these skips does not affect this (rubber) spacing. I have > also translated this ConTeXt file line-by-line to a LaTeX file (bug.ltx) > and attached it. > > Both files produce a PDF (using `context bug.tex` and `pdflatex bug.ltx`) > in which the spacing between the formula changes from page 1 to page 2 > simply by adding the final formula. However, by changing \adjustdisplay{0} > to \adjustdisplay{1}, the LaTeX file produces a 3 page document where the > spacing between formula does not change (as expected) on the first two > pages and thus requires a third page to typeset the final formula. > However, making this same adjustment in the ConTeXt file does not seem to > affect the output. > > I would appreciate any thoughts as to why this is happening, and I would > equally appreciate a solution to keeping the spacing the same in the > ConTeXt file and thus bumping that last formula to a third page. ConTeXt uses spacebefore and spaceafter keys to adjust the spacing around formulas. The values of these keys are fed to `\blank[...]` so they can be any value that `\blank[...]` accepts (none, small, medium, big, etc., or a valid TeX dimen) So, you should use something like \setupformulas[spacebefore=..., spaceafter=...] or if you only want to change the space around specific formulas \defineformula[big][spacebefore=big,spaceafter=big] and then use \startbigformula ... \stopbigformula. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________