From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26620 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: intertext for aligned equations Date: Wed, 29 Mar 2006 10:46:23 -0500 (EST) Message-ID: References: <4427AA2E.1070203@elvenkind.com> <442A3C27.4030801@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143647211 19427 80.91.229.2 (29 Mar 2006 15:46:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2006 15:46:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 29 17:46:46 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FOcsX-0001Xg-Jc for gctc-ntg-context-518@m.gmane.org; Wed, 29 Mar 2006 17:46:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8EA5D127BC; Wed, 29 Mar 2006 17:46:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21641-03; Wed, 29 Mar 2006 17:46:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 538C7127AA; Wed, 29 Mar 2006 17:46:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD2FE127AA for ; Wed, 29 Mar 2006 17:46:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21813-05 for ; Wed, 29 Mar 2006 17:46:25 +0200 (CEST) Original-Received: from playinggod.mr.itd.umich.edu (playinggod.mr.itd.umich.edu [141.211.14.79]) by ronja.ntg.nl (Postfix) with SMTP id 705EB1279B for ; Wed, 29 Mar 2006 17:46:25 +0200 (CEST) Original-Received: from aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) by playinggod.mr.itd.umich.edu (smtp) with ESMTP id k2TFkNVw019534 for ; Wed, 29 Mar 2006 10:46:23 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <442A3C27.4030801@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26620 Archived-At: <--- On Mar 29, Taco Hoekwater wrote ---> > Aditya Mahajan wrote: >> >> This does not look good. Consider, >> >> There is too much space after the intertext and the next line. Can you >> provide some magic to reduce this space. > > Ok, got it. The \NR has to go away, and the \beforedisplayspace > reinserted, like so: > > \def\startintertext#1\stopintertext > {\noalign{\dointertext{#1}}} > > \unexpanded\def\dointertext#1% > {\penalty\postdisplaypenalty > \afterdisplayspace > \vbox{\forgetall \noindent #1\par}% > \penalty\predisplaypenalty > \beforedisplayspace } > > Looks much better (over here). Thanks a lot. This indeed looks pretty good. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008