From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Otared Kavian via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Bug in alignment with LMTX version 2022.01.15 17:32
Date: Mon, 17 Jan 2022 11:21:21 -0500 (EST) [thread overview]
Message-ID: <nycvar.YAK.7.78.908.2201171119050.295357@nqv-guvaxcnq> (raw)
In-Reply-To: <DC3D6A2F-B2F7-45AE-B70B-1F98FB189248@gmail.com>
On Mon, 17 Jan 2022, Otared Kavian via ntg-context wrote:
> Hi Hans and Mikael,
>
> While investigating the latest version regarding the math environment, I found that the alignments are not correct.
> Here is an example:
>
> % begin bug-alignment.tex
> \definemathmatrix[alignedcases]
> [align={right,left,left},
> distance=3pt,
> left={\left\{},
> right={\right.},
> style=\displaystyle]
> \starttext
>
> \placeformula[eq:1]
> \startformula
> \startalignedcases
> \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, \Omega\times (0,+\infty) \NR
> \NC {\partial\phi(u) \over \partial{\bi n}} \NC = 0 \NC\qquad\text{on }\, \partial \Omega\times (0,+\infty)\NR
> \NC u(x,0) \NC = u_{0}(x)\NC\qquad\text{in }\, \Omega.\NR
> \stopalignedcases
> \stopformula
>
> \stoptext
> % end bug-alignment.tex
I confirm that this is a bug, which was not there in the version from mid Dec. It appears that the align key does not have any effect. Here's a simpler example:
\definemathmatrix[matrix]
[align={right,left,left}]
\starttext
\startformula
\startmatrix
\NC ABC \NC ABC \NC ABC \NR
\NC AAAAAA \NC AAAAAA \NC AAAAAA \NR
\stopmatrix
\stopformula
\stoptext
Aditya
___________________________________________________________________________________
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 prev parent reply other threads:[~2022-01-17 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-17 16:02 Otared Kavian via ntg-context
2022-01-17 16:21 ` Aditya Mahajan via ntg-context [this message]
2022-01-17 22:35 ` Aditya Mahajan via ntg-context
2022-01-17 22:53 ` Hans Hagen via ntg-context
2022-01-18 9:11 ` Otared Kavian via ntg-context
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=nycvar.YAK.7.78.908.2201171119050.295357@nqv-guvaxcnq \
--to=ntg-context@ntg.nl \
--cc=adityam@umich.edu \
/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).