ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* questions about math formula
@ 2007-06-06 15:31 fdu.xiaojf
  2007-06-06 16:01 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: fdu.xiaojf @ 2007-06-06 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I have two questions about math formula.

1) I'd like to use \startalign to typeset mathematical formulas since it
is more convenient than \eqalign. But the formula number cannot be
located between two lines just as \eqalign can. I hope following example
can make me clear.

\starttext

\placeformula \startformula
\eqalign{
    a + b & = c + d\cr
          & = e + f\cr}
\stopformula

\placeformula \startformula
\startalign
\NC a + b \NC = c + d \NR[+]
\NC       \NC = e + f \NR
\stopalign
\stopformula

\stoptext

The number of equations in second formula can only be put on the first
line or second line but not between them.

My question is how to make the location of formula number in \startalign
the same as it is in \eqalign ?

2) It seems that \left and \right cannot be used on separate groups.
Here is a simple example:

\starttext

\placeformula \startformula
\eqalign{
    a & = \left(\frac{b+c}{d+e}\cr
      &\phantom{=~} + \frac{g}{h}\cr}
\stopformula

\stoptext

If I change \left and \right to \big, it compiles successfully. But I
think \left and \right are more convenient. Are there some solutions to
use \left and \right in this situation ?

Regards,

Xiao Jianfeng

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-06 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-06 15:31 questions about math formula fdu.xiaojf
2007-06-06 16:01 ` Aditya Mahajan
2007-06-06 16:06   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).