Le Friday 14 March 2008 00:48:55 Aditya Mahajan, vous avez écrit : > So, will this user interface be enough: > > \startformula \startmultline > \NC line 1 \FR > \NC line 2 \MR > \NC line 3 \LR > \stopmultline \stopformula > > Lines with \FR are flush left, lines with \MR are centered, and lines with > \LR are right flushed. (First row, middle row, last row; as in tables). > multline also has \pushleft and \pushright with go against the ConTeXt way > of things.
It seems great to me. Would it be possible to use \FR ou \LR for intermediate lines? It could be a way to get the same result as \pushleft and \pushright in amsmath. Anyway, I'm not sure this is a very useful feature: centered lines in the middle is clearly the best choice (at least for me!). > It is also possible to just have \NR at each row, and let ConTeXt figure > out the correct flushing. That will involve a two-pass algorithm, and I > will give that a try. If the use of \FR and \LR can address the problem of \pushleft and \pushright, the first solution would be more powerful... And maybe it's more coherent with ConTeXt tables. > The other thing is placement of equation numbers. It is easy to implement > multline so that equation number is always centered. I am not sure if the > current ConTeXt mechanism allows for equation number to be placed on the > bottom (similar to tbtags options). > > Aditya As multline is supposed to be used to typeset one only equation, I guess the choice made in amsmath is the best for tag placement: last line if placed right and first line if placed left. But if it's not possible currently, a centered tag would not hurt me at all... Morgan ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________