ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: multi-line equations with \left( and  \right.
Date: Tue, 7 Oct 2014 13:50:59 +0200	[thread overview]
Message-ID: <EEB04DF5-6F37-4281-8420-065961B1E5A8@gmail.com> (raw)
In-Reply-To: <20141007122242.8cff1d9008f64cd2305bc894@telefonica.net>

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
___________________________________________________________________________________

      reply	other threads:[~2014-10-07 11:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07  8:59 Xan
2014-10-07  9:23 ` Wolfgang Schuster
2014-10-07 10:22   ` Xan
2014-10-07 11:50     ` Otared Kavian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EEB04DF5-6F37-4281-8420-065961B1E5A8@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).