[NTG-context] White Space after \startalign

Hans Hagen pragma at wxs.nl
Mon Apr 8 17:49:51 CEST 2013


On 4/8/2013 1:21 PM, Devendra Ghate wrote:
> Dear all,
>
> I have noticed a new problem in the \startalign environment recently.
> \startalign adds whitespace after the formula. If I remove the *\NR* from the
> last equation then the white space disappears. But I need to keep it for
> numbering the last equation.
>
> In any case, I thought that the last *\NR* is required in the *math
> align* environment. I remember getting errors for not including the last
> \NR when I was just starting out with ConTeXt. May be something has
> changed or my memory is not quite what I thought it was.
>
> Please let me know if I am making a silly mistake. Thank you for your
> time in advance.

a side effect of \startalign being math or text aware (lookahead issue 
in low level tex align) ... fixed in next upload

> *MWE*
>
> \starttext¬
> Some text before the equation.¬
>     \placeformula¬
>     \startformula \startalign¬
>       \NC a \NC= b\NR¬
>       \NC c \NC= d\NR[eq:trivial]¬
>     \stopalign \stopformula¬
> Some text after the equation.¬
> \stoptext¬
>
> Regards,
> Devendra Ghate
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list