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: Problem with math alignment
Date: Sun, 12 Nov 2017 17:37:32 +0100	[thread overview]
Message-ID: <AFA7AE9C-D102-4E98-94BF-8FC163D4DC96@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]

Hi everybody,

Does anyone have noticed that the mathalignment has changed its behaviour recently? I think a bug has managed to enter the environment which handles the mathalignment, at least since a few weeks ago. I did not report it earlier because I was traveling and did not have a stable internet access.

Here is a minimal example where on can see in the first displayed formula that the first and third column are centered while the first one shoud be right-aligned and the third one left-aligned. (Actually it seems that all columns are centered…)
%%% begin pb-math-align.tex
\definemathmatrix[alignedcases]
		[align={right,left,left},
		distance=3pt,
		left={\left\{},
		right={\right.},
		style=\displaystyle]


\starttext

\startformula
\startalignedcases
\NC \partial_{tt} u - \Delta u + q(x) u \NC = 0  \NC \quad\mbox{in }\;(0,T)\times\Omega \NR
\NC  u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR 
\NC  \partial_{t} u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR 
\NC {\partial u \over\partial{\bf n} } \NC = g(t,\sigma) \NC \quad \mbox{on }\; (0,T)\times\partial\Omega. \NR
\stopalignedcases
\stopformula


\startformula
\startalignedcases
\NC \partial_{tt} u - \Delta u + q(x) u \NC = 0 \NC \quad\mbox{in }\; (0,T)\times\Omega \NR
\NC - \Delta v  \NC = q(x) \partial_{t}u \NC \quad\mbox{in }\; \Omega \NR
\stopalignedcases
\stopformula

\stoptext
%%% end pb-math-align.tex


[-- Attachment #2: pb-align-math.pdf --]
[-- Type: application/pdf, Size: 10911 bytes --]

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




[-- Attachment #4: Type: text/plain, Size: 492 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:[~2017-11-12 16:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12 16:37 Otared Kavian [this message]
2017-11-12 16:58 ` Weber, Matthias
2017-11-12 20:57   ` Otared Kavian
2017-11-13  8:03 ` Wolfgang Schuster
     [not found]   ` <CBAE2B33-9EE5-4A60-9FD6-19583B05B091@gmail.com>
2017-11-13 10:25     ` Wolfgang Schuster
     [not found] <mailman.1204.1510504666.1988.ntg-context@ntg.nl>
2017-11-13  2:12 ` Jeong Dal
2017-11-13 10:19   ` Otared Kavian
     [not found] <mailman.1.1510570801.1118.ntg-context@ntg.nl>
2017-11-13 14:06 ` Jeong Dal

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=AFA7AE9C-D102-4E98-94BF-8FC163D4DC96@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).