[NTG-context] intertext for aligned equations
Aditya Mahajan
adityam at umich.edu
Wed Mar 29 17:46:23 CEST 2006
<--- 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
More information about the ntg-context
mailing list