ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: mathalign: specifying distance with glue
Date: Wed, 24 Apr 2019 01:10:43 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.76.44.1904240101360.29315@nqv-guvaxcnq> (raw)

Hi,

amsmath provides an environment `flalign` that flushes the "block" for 
display math. See page 6 (pdf page 27) of my article on display math in 
context (https://www.ntg.nl/maps/34/06.pdf) for an example.

As shown in that article, I could achieve the same behavior in context 
mathalign by using distance=2em plus 1fil. However, on a recent context, 
the glue gets ignored.

\starttext
\startformula
   \startmathalignment[m=2,distance=2em plus 1 filll]%Notice distance=...
     \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0},
     \NC \nabla\times \bf E \NC= -\frac{\partial \bf B}{\partial t}, \NR
     \NC \nabla\cdot \bf B \NC= 0,
     \NC \nabla\times \bf B \NC= \mu_0{\bf j}+\varepsilon_0\mu_0
         \frac{\partial \bf E}{\partial t}. \NR
   \stopmathalignment
\stopformula
\stoptext

Looking at math-ali, I cannot figure out why that is happening.

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
___________________________________________________________________________________

                 reply	other threads:[~2019-04-24  5:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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.76.44.1904240101360.29315@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --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).