ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: intertext for aligned equations
Date: Wed, 29 Mar 2006 10:46:23 -0500 (EST)	[thread overview]
Message-ID: <Pine.WNT.4.63.0603291045440.3792@nqvgln> (raw)
In-Reply-To: <442A3C27.4030801@elvenkind.com>

<--- 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

      reply	other threads:[~2006-03-29 15:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27  7:23 Aditya Mahajan
2006-03-27  9:02 ` Taco Hoekwater
2006-03-27 12:27   ` Hans Hagen
2006-03-27 13:53     ` Taco Hoekwater
2006-03-27 14:47       ` Aditya Mahajan
2006-03-27 12:50   ` Hans Hagen
2006-03-29  6:42   ` Aditya Mahajan
2006-03-29  7:49     ` Taco Hoekwater
2006-03-29 15:46       ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.63.0603291045440.3792@nqvgln \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).