ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathalign: specifying distance with glue
@ 2019-04-24  5:10 Aditya Mahajan
  0 siblings, 0 replies; only message in thread
From: Aditya Mahajan @ 2019-04-24  5:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-24  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24  5:10 mathalign: specifying distance with glue Aditya Mahajan

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).