Re: [NTG-context] large right brace grouping lines of equations

2011-01-30 Thread Jeong Dalyoung
Dear Aditya,

Thank you for suggestion.

Here is my situation.

- equation1 -
  equation 2 -
-equation 3  ]
-equation 4  ] big rbrace for 3,4,5 and some text here
-equation 5  ]
-equation 6 

According to your suggestion, we can use \startmatrix for 3,4,5, but how to put 
text?
I googled  and found a similar question in LaTeX, but the answer is to use tikz.

How do you think?

Thank you again.

Best regards.

Dalyoung



___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] large right brace grouping lines of equations

2011-01-30 Thread Aditya Mahajan

On Sun, 30 Jan 2011, Jeong Dalyoung wrote:


Here is my situation.

- equation1 -
  equation 2 -
-equation 3  ]
-equation 4  ] big rbrace for 3,4,5 and some text here
-equation 5  ]
-equation 6 

According to your suggestion, we can use \startmatrix for 3,4,5, but how to put 
text?


Do you also want equation numbers? If so, then that is not supported by 
ConTeXt at the moment. If you do not want equation numbers, you can use


\startformula \startalign[n=1]
\NC equation 1 \NR
\NC equation 2 \NR
\NC \startmatrix[left={\left.}, right={\right\}}, n=1, align=middle]
\NC equation 3 \NR
\NC equation 4 \NR
\NC equation 5 \NR
   \stopmatrix
   some text here   \NR
\NC equation 6 \NR
\stopalign \stopformula


I googled  and found a similar question in LaTeX, but the answer is to use tikz.


With LaTeX, you can also use mathtools package, which is much easier to 
use.



How do you think?


Math support will be reworked at some stage in MkIV.

Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] large right brace grouping lines of equations

2011-01-30 Thread Jeong Dalyoung
Dear Aditya,

Thank you for your nice solution.

 
 \startformula \startalign[n=1]
 \NC equation 1 \NR
 \NC equation 2 \NR
 \NC \startmatrix[left={\left.}, right={\right\}}, n=1, align=middle]
 \NC equation 3 \NR
 \NC equation 4 \NR
 \NC equation 5 \NR
\stopmatrix
some text here   \NR
 \NC equation 6 \NR
 \stopalign \stopformula
 

It works nicely.
I erase \NR after equation 5 because it makes another blank line below eq 5.

 
 Math support will be reworked at some stage in MkIV.
 

Since I am not using a complicate equations, math support in ConTeXt is OK.
And your mathalign is very helpful to me.

Best regards,

Dalyoung
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] large right brace grouping lines of equations

2011-01-29 Thread Aditya Mahajan

On Sat, 29 Jan 2011, Jeong Dalyoung wrote:


Dear all,

First, thanks Wolfgang and Hans for suggestions about the chapter head.

Using \cases, I can use large left brace for lines of equations. But, how to 
put a large right brace after lines of equations which groups them.

Is it possible in the \startformula\startalign ... \stopalign\stopformula?


You can use \startmatrix[left={\left.},right={\right\}] ... \stopmatrix

Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] large right brace grouping lines of equations

2011-01-28 Thread Jeong Dalyoung
Dear all,

First, thanks Wolfgang and Hans for suggestions about the chapter head.

Using \cases, I can use large left brace for lines of equations. But, how to 
put a large right brace after lines of equations which groups them.

Is it possible in the \startformula\startalign ... \stopalign\stopformula?

Thanks

Best regards,

Dalyoung

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___