From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13334 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re[3]: Vertical alignment of formulas Date: Thu, 18 Sep 2003 14:43:52 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030918143647.0124d9f8@server-1> References: <5.2.0.9.1.20030918130921.01ebf258@server-1> <5.2.0.9.1.20030918083641.012e4170@server-1> <5.2.0.9.1.20030917181431.01af5db8@server-1> <5.2.0.9.1.20030918083641.012e4170@server-1> <5.2.0.9.1.20030918130921.01ebf258@server-1> <17614405023.20030918140553@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1063889970 9253 80.91.224.253 (18 Sep 2003 12:59:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2003 12:59:30 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Sep 18 14:59:28 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zyNc-00052E-00 for ; Thu, 18 Sep 2003 14:59:28 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3990810B3A; Thu, 18 Sep 2003 14:59:26 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id 43DFE10B3A for ; Thu, 18 Sep 2003 14:47:13 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8ICl6H03732 for ; Thu, 18 Sep 2003 14:47:06 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 57CB21A5CC; Thu, 18 Sep 2003 14:47:06 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id EE91617D68 for ; Thu, 18 Sep 2003 12:47:03 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <17614405023.20030918140553@iol.it> Original-References: <5.2.0.9.1.20030918130921.01ebf258@server-1> <5.2.0.9.1.20030918083641.012e4170@server-1> <5.2.0.9.1.20030917181431.01af5db8@server-1> <5.2.0.9.1.20030918083641.012e4170@server-1> <5.2.0.9.1.20030918130921.01ebf258@server-1> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13334 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13334 At 14:05 18/09/2003 +0200, you wrote: >In the end it always end up on the totally different views on >displayed material that you and TeX have. We discussed this for >the "autoindent" stuff, remember? You always consider displays >a "separate entity" from the surrounding text, whereas TeX >allows it to be separate or not (depending on \pars around it). >TeX approach is both more flexible and more "correct". hm, in this case i more tend to look at the grayness of a page and then decide on a space correction like this; (which is why i also have a threshold) >Let's say for example that we're discussing Einstein's >equation. The following three examples have different logical >meaning and should therefore be formatted appropriately >differently: > >=== EXAMPLE 1: Display part of the paragraph === > >Einstein's equation $$E=mc^2$$ ties energy and mass of a body >to etc > >=== EXAMPLE 2: Display part of the previous paragraph but not > of the following one === > >A relation between mass and energy of a body is expressed by >Einstein's equation $$E=mc^2.$$ > >We shall see further on that etc > >=== EXAMPLE 3: Display part of the following paragraph but not > of the previous one === > >some text etc. > >$$E=mc^2$$ is Einstein equation and it ties energy and mass >of a body etc. > >================================================ > >In Ex1, you want the displayed equation to have as little >spacing as possible both above and below, and the following >text should NOT start with an indent. > >In Ex2, you want the displayed equation to be as close as >possible to the previous text, and to have some spacing below, >to ensure that it's clearly distinguishable from the next >paragraph, which is a new entity. Also, the following text >should start with an indent. yes, but a very short last line will make uit look quite ugly, i.e. there is already quite some space there; i'd rather tend to have a different threshold then (say 4em instead of 2em, which boils down to: some long text formula part of paragraph some text formula part of paragraph some long text formula not part of paragraph some text formula not part of paragraph so, to let the horizontal distance between end of line text and begin of text also play a role. text $$math$$ text >and > >text\par $$math$$\par text > >are NOT the same thing and should be treated differently! i know, but that's on the agenda; and even then, i'll add options to control the look and feel -) (in practice i think that it also depends on the taste and specific formula, say x=2 vs x=sqrt(2) may demand their own spacing rules) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------