On 3/15/2010 8:10 PM, Aditya Mahajan wrote:
On Mon, 15 Mar 2010, Mehdi Omidali wrote:
ConTeXt does not support that directly, but you can fake it.
\def\NRtag{&\global\let\doalignNC\dodoalignNC\doalignNRtag}%
\def\doalignNRtag[#1]% {#1\crcr}
\starttext \placeformula \startformula \startalign[n=3] \NC x^2 + y^2 \NC = z^2 \NC \NR[eq:1] \NC \NC = w^2 \NC + u^2 \NRtag[\text{(by \in{Equation}[eq:2])}] \NC \NC \NC + v^2 + r^2 \NR[eq:2] \NC \NC \NC + v^2 + r^2 \NR[eq:3] \NC \NC = v^2 \NC + r^2 \NR[eq:4] \stopalign \stopformula \stoptext
ConTeXt does support that (see above); but aligning at the + sign makes sense only for specific types of equations. In general, using \quad is considered good typography. (Imagine what would happen if the first term in one of the equations was very big).
Aditya
Thank you. It is perfect now. I think this solution deserve appearing in your MyWay manual. In fact, it deserves to be supported directly in MKIV. Mehdi