From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Alignment
Date: Mon, 13 May 2019 22:45:42 +0200 [thread overview]
Message-ID: <CACyK-eot5jfDBY08oqB-ZC1LP+FSzxwUp=sUavAYWfP7HoxC-w@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1699 bytes --]
Hi,
Not having too many ideas, I did this: is there not a more elegant way ?
Thank you.
Fabrice
\definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX]
\starttext
\startmidaligned
\startxtable[align={middle,lohi},frame=off,offset=0.8ex]
\startxrow
\startxcell
\m{P\times M=P}
\stopxcell
\startxcell
\math{\iff}
\stopxcell
\startxcell
\m{\MATRIX{x,y}\times
\MATRIX{0.22,0.78;0.53,0.47}=\MATRIX{x,y}}
\stopxcell
\stopxrow
\startxrow
\startxcell
\stopxcell
\startxcell
\m{\iff}
\stopxcell
\startxcell[align=right]
\math{\startmathcases
\NC 0.22x+0.53y=x \NR
\NC 0.78x+0.47y=y \NR
\stopmathcases}
\stopxcell
\stopxrow
\startxrow
\startxcell
\stopxcell
\startxcell
\m{\iff}
\stopxcell
\startxcell[align=right]
\m{0.78x-0.53y=0}
\stopxcell
\stopxrow
\startxrow
\startxcell
\stopxcell
\startxcell
\m{\iff}
\stopxcell
\startxcell[align=right]
\m{78x-53y=0}
\stopxcell
\stopxrow
\stopxtable
\stopmidaligned
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 3341 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
___________________________________________________________________________________
next reply other threads:[~2019-05-13 20:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-13 20:45 Fabrice Couvreur [this message]
2019-05-13 21:15 ` Alignment Wolfgang Schuster
-- 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='CACyK-eot5jfDBY08oqB-ZC1LP+FSzxwUp=sUavAYWfP7HoxC-w@mail.gmail.com' \
--to=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).