ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* align text and formula
@ 2016-08-24  8:02 Jan Willem Flamma
  2016-08-24  8:10 ` Otared Kavian
  0 siblings, 1 reply; 12+ messages in thread
From: Jan Willem Flamma @ 2016-08-24  8:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I would like to include text on the same line as a formula.
The text needs to be left-aligned and the formula needs to be mid-aligned (as per normal).

I’ve tried various solutions from the mathalign MyWay but have not succeeded to get the desired result sofar.
Below a M-Not-WE. Clearly, the formula is not positioned correctly yet.

Who can help me out?

Regards,
Jan Willem


\starttext
    
\setupformulas[align=flushleft]
\startformula
	\startalign[n=2,align={left,middle}]
        	\NC \text{Text1}    \NC E = mc^2    \NR
        	\NC \text{Text2}    \NC E = mc^2    \NR
	\stopalign
\stopformula

\stoptext

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-02-09 13:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24  8:02 align text and formula Jan Willem Flamma
2016-08-24  8:10 ` Otared Kavian
2016-08-24  8:19   ` Jan Willem Flamma
2016-08-24  8:21   ` Jan Willem Flamma
2016-08-24 14:53     ` Otared Kavian
2016-08-24 15:38     ` Jan Willem Flamma
2016-08-25 11:52       ` Henri Menke
2016-08-25 13:12         ` Jan Willem Flamma
2016-08-25 13:31           ` Henri Menke
2016-08-25 14:07             ` Wolfgang Schuster
2016-08-27 12:51               ` Hans Hagen
2017-02-09 13:05           ` Jan Willem Flamma

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