ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: large right brace grouping lines of  equations
@ 2011-01-30 12:44 Jeong Dalyoung
  2011-01-30 19:34 ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Jeong Dalyoung @ 2011-01-30 12:44 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: large right brace grouping lines of equations
  2011-01-30 12:44 large right brace grouping lines of equations Jeong Dalyoung
@ 2011-01-30 19:34 ` Aditya Mahajan
  0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2011-01-30 19:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: large right brace grouping lines of  equations
       [not found] <mailman.654.1296427430.4223.ntg-context@ntg.nl>
@ 2011-01-31  1:38 ` Jeong Dalyoung
  0 siblings, 0 replies; 5+ messages in thread
From: Jeong Dalyoung @ 2011-01-31  1:38 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: large right brace grouping lines of equations
  2011-01-29  6:23 Jeong Dalyoung
@ 2011-01-29 19:54 ` Aditya Mahajan
  0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2011-01-29 19:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* large right brace grouping lines of equations
@ 2011-01-29  6:23 Jeong Dalyoung
  2011-01-29 19:54 ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Jeong Dalyoung @ 2011-01-29  6:23 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-01-31  1:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-30 12:44 large right brace grouping lines of equations Jeong Dalyoung
2011-01-30 19:34 ` Aditya Mahajan
     [not found] <mailman.654.1296427430.4223.ntg-context@ntg.nl>
2011-01-31  1:38 ` Jeong Dalyoung
  -- strict thread matches above, loose matches on Subject: below --
2011-01-29  6:23 Jeong Dalyoung
2011-01-29 19:54 ` 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).