[NTG-context] Flushed right formula numbers in cases environment

Aditya Mahajan adityam at umich.edu
Tue Sep 23 01:26:42 CEST 2014

On Mon, 15 Sep 2014, Maggyero wrote:

> I want to have the formula numbers of cases environment flushed on the
> right like for regular formulas (not the default
> numberdistance=2.5\emwidth). How can I do that?
> \starttext
> \startplaceformula
>    \startformula
>        \startcases
>            \NC x = 1 \NR[+]
>            \NC y = 1 \NR[+]
>        \stopcases
>    \stopformula
> \stopplaceformula
> \stoptext

As far as I know, this is not possible right now.

You can play around with numberdistance setting of the cases environment, 
but it moves the equations to the left (as the whole structure is centered 
on the line).

If you really need this, one option is to use metapost page backgrounds 
with a mathalign environment; place anchors before the x and y glyphs, and 
then use metapost to draw a left bracket. See the metafun manual for 
examples of using metapost anchors.


More information about the ntg-context mailing list