ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Fabrice Couvreur <fabrice1.couvreur@gmail.com>
Subject: Re: Alignment
Date: Mon, 13 May 2019 23:15:36 +0200	[thread overview]
Message-ID: <9194f36a-a35b-eb65-9f26-420a9767dcc4@gmail.com> (raw)
In-Reply-To: <CACyK-eot5jfDBY08oqB-ZC1LP+FSzxwUp=sUavAYWfP7HoxC-w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]



Fabrice Couvreur schrieb am 13.05.2019 um 22:45:
> Hi,
> Not having too many ideas, I did this: is there not a more elegant way ?
\definemathmatrix [pmatrix] [matrix:parentheses] [simplecommand=MATRIX]

\starttext

\startformula
   \startmathalignment
   \NC P \times M = P \NC \iff \MATRIX{x,y} \times 
\MATRIX{0.22,0.78;0.53,0.47} = \MATRIX{x,y} \NR
   \NC                \NC \iff
     \startmathcases
     \NC 0.22x + 0.53y = x \NR
     \NC 0.78x + 0.47y = y \NR
     \stopmathcases
   \NR
   \NC                \NC \iff 0.78x - 0.53y = 0 \NR
   \NC                \NC \iff   78x -   53y = 0 \NR
   \stopmathalignment
\stopformula

\stoptext

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1451 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-05-13 21:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-13 20:45 Alignment Fabrice Couvreur
2019-05-13 21:15 ` Wolfgang Schuster [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-06 18:44 alignment Hans van der Meer
2006-07-10 20:24 ` alignment Hans Hagen
2006-02-17 13:39 alignment Hans van der Meer
2006-02-17 14:16 ` alignment Taco Hoekwater

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=9194f36a-a35b-eb65-9f26-420a9767dcc4@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=fabrice1.couvreur@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).