* Equation alignment
@ 2021-09-07 12:29 Sylvain Hubert via ntg-context
2021-09-07 12:38 ` Wolfgang Schuster via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Hubert via ntg-context @ 2021-09-07 12:29 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Sylvain Hubert
Dear List,
The following example of equation alignment copied from An Excursion
is not reproducible under my context 2021.03.05 shipped with texlive
2021:
\starttext
\startformula
\eqalign{
ax^2+bx+c &= 0 \cr
x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
}
\stopformula
\stoptext
Both ampersands are rendered literally.
Does anyone know how to properly typeset aligned equations?
Thanks!
Sylvain
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Equation alignment
2021-09-07 12:29 Equation alignment Sylvain Hubert via ntg-context
@ 2021-09-07 12:38 ` Wolfgang Schuster via ntg-context
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-09-07 12:38 UTC (permalink / raw)
To: mailing list for ConTeXt users, Sylvain Hubert via ntg-context
Cc: Wolfgang Schuster
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 14:29:
> Dear List,
>
> The following example of equation alignment copied from An Excursion
> is not reproducible under my context 2021.03.05 shipped with texlive
> 2021:
>
> \starttext
> \startformula
> \eqalign{
> ax^2+bx+c &= 0 \cr
> x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
> }
> \stopformula
> \stoptext
>
> Both ampersands are rendered literally.
>
> Does anyone know how to properly typeset aligned equations?
\starttext
\startformula
\startmathalignment%[align={right,left}]
\NC ax^2+bx+c \NC = 0 \NR
\NC x \NC = \frac{-b \pm \sqrt{b^2-4ac}}{2a} \NR
\stopmathalignment
\stopformula
\stoptext
Wolfgang
___________________________________________________________________________________
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] 3+ messages in thread
[parent not found: <mailman.512.1631017785.1197.ntg-context@ntg.nl>]
end of thread, other threads:[~2021-09-07 14:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 12:29 Equation alignment Sylvain Hubert via ntg-context
2021-09-07 12:38 ` Wolfgang Schuster via ntg-context
[not found] <mailman.512.1631017785.1197.ntg-context@ntg.nl>
2021-09-07 14:22 ` Jeong Dal via ntg-context
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).