ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* multi-line equations with \left( and  \right.
@ 2014-10-07  8:59 Xan
  2014-10-07  9:23 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Xan @ 2014-10-07  8:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I try to do that

\startformula
\startalign[left={\left(\,},right={\,\right.}]
\NC x - 2y + 2z \NC = 1 \NR
\NC 2 x + y - z \NC = 2 \NR
\NC 4 x - 3y + 6z \NC = 7 \NR
\stopalign
\stopformula


but it does not work.
Can anyone help me?

Thanks,
Xan

PS: Please CCme
___________________________________________________________________________________
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] 4+ messages in thread

* Re: multi-line equations with \left( and  \right.
  2014-10-07  8:59 multi-line equations with \left( and \right Xan
@ 2014-10-07  9:23 ` Wolfgang Schuster
  2014-10-07 10:22   ` Xan
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2014-10-07  9:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Xan


Am 07.10.2014 um 10:59 schrieb Xan <dxpublica@telefonica.net>:

> Hi,
> 
> I try to do that
> 
> \startformula
> \startalign[left={\left(\,},right={\,\right.}]
> \NC x - 2y + 2z \NC = 1 \NR
> \NC 2 x + y - z \NC = 2 \NR
> \NC 4 x - 3y + 6z \NC = 7 \NR
> \stopalign
> \stopformula
> 
> but it does not work.
> Can anyone help me?

You have to use the \startmatrix environment.

- http://wiki.contextgarden.net/%5Cstartcases
- http://dl.contextgarden.net/myway/mathalign.pdf

Wolfgang
___________________________________________________________________________________
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] 4+ messages in thread

* Re: multi-line equations with \left( and  \right.
  2014-10-07  9:23 ` Wolfgang Schuster
@ 2014-10-07 10:22   ` Xan
  2014-10-07 11:50     ` Otared Kavian
  0 siblings, 1 reply; 4+ messages in thread
From: Xan @ 2014-10-07 10:22 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

Mm... I thought I could use mathalign instead.

Thanks,


On Tue, 7 Oct 2014 11:23:13 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> ha escrit:

> 
> Am 07.10.2014 um 10:59 schrieb Xan <dxpublica@telefonica.net>:
> 
> > Hi,
> > 
> > I try to do that
> > 
> > \startformula
> > \startalign[left={\left(\,},right={\,\right.}]
> > \NC x - 2y + 2z \NC = 1 \NR
> > \NC 2 x + y - z \NC = 2 \NR
> > \NC 4 x - 3y + 6z \NC = 7 \NR
> > \stopalign
> > \stopformula
> > 
> > but it does not work.
> > Can anyone help me?
> 
> You have to use the \startmatrix environment.
> 
> - http://wiki.contextgarden.net/%5Cstartcases
> - http://dl.contextgarden.net/myway/mathalign.pdf
> 
> Wolfgang
___________________________________________________________________________________
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] 4+ messages in thread

* Re: multi-line equations with \left( and  \right.
  2014-10-07 10:22   ` Xan
@ 2014-10-07 11:50     ` Otared Kavian
  0 siblings, 0 replies; 4+ messages in thread
From: Otared Kavian @ 2014-10-07 11:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Xan,

I think Wolfgang meant that one should something like the following construction:

% define here a new math-aligned structure:
\definemathmatrix[alignedcases]
		[align={right,left,left},
		distance=3pt,
		left={\left\{},
		right={\right.},
		style=\displaystyle]

\starttext

\startformula
\startalignedcases
\NC x - 2y + 2z \NC = 1 \NR
\NC 2 x + y - z \NC = 2 \NR
\NC 4 x - 3y + 6z \NC = 7 \NR
\stopalignedcases
\stopformula
\stoptext

Best regards: OK


On 07 Oct 2014, at 12:22, Xan <dxpublica@telefonica.net> wrote:

> Mm... I thought I could use mathalign instead.
> 
> Thanks,
> 
> 
> On Tue, 7 Oct 2014 11:23:13 +0200
> Wolfgang Schuster <schuster.wolfgang@gmail.com> ha escrit:
> 
>> 
>> Am 07.10.2014 um 10:59 schrieb Xan <dxpublica@telefonica.net>:
>> 
>>> Hi,
>>> 
>>> I try to do that
>>> 
>>> \startformula
>>> \startalign[left={\left(\,},right={\,\right.}]
>>> \NC x - 2y + 2z \NC = 1 \NR
>>> \NC 2 x + y - z \NC = 2 \NR
>>> \NC 4 x - 3y + 6z \NC = 7 \NR
>>> \stopalign
>>> \stopformula
>>> 
>>> but it does not work.
>>> Can anyone help me?
>> 
>> You have to use the \startmatrix environment.
>> 
>> - http://wiki.contextgarden.net/%5Cstartcases
>> - http://dl.contextgarden.net/myway/mathalign.pdf
>> 
>> Wolfgang
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2014-10-07 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-07  8:59 multi-line equations with \left( and \right Xan
2014-10-07  9:23 ` Wolfgang Schuster
2014-10-07 10:22   ` Xan
2014-10-07 11:50     ` Otared Kavian

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).