From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Sylvain Hubert via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Equation alignment
Date: Tue, 7 Sep 2021 14:38:46 +0200 [thread overview]
Message-ID: <e0f23801-8493-7704-5c30-5b20155e8a1c@gmail.com> (raw)
In-Reply-To: <CACNy3NB_+PYSM0ZfyPafWTS8TQc8W7AhO4bEi=NsAN309SbfzQ@mail.gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-09-07 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-07 12:29 Sylvain Hubert via ntg-context
2021-09-07 12:38 ` Wolfgang Schuster via ntg-context [this message]
[not found] <mailman.512.1631017785.1197.ntg-context@ntg.nl>
2021-09-07 14:22 ` Jeong Dal 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=e0f23801-8493-7704-5c30-5b20155e8a1c@gmail.com \
--to=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/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).