From: Cedric Mauclair <cedric.mauclair@gmail.com>
To: ConTeXt-mailinglist <ntg-context@ntg.nl>
Subject: How to get numbered cases'ed equations ?
Date: Mon, 20 Dec 2010 16:45:55 +0100 [thread overview]
Message-ID: <AANLkTinKG4b0452OyvmE+GU367cEjwqpFmcMhyA8N4zb@mail.gmail.com> (raw)
Hi list,
How can I get a numbered equation when using cases in MkIV? The "hack"
proposed by Aditya in [1] doesn't work as it uses macros that no
longer exist (\makesesctionnumber and others). The reference doesn't
even get recorded. I precise that I don't want (well, don't need) the
sub numbering per-line, just a regular number would do.
Minimal example:
\starttext
My equation \in[eq:equation] and my other equation \in[eq:other-equation].
\placeformula[eq:equation]
\startformula
E = mc^2
\stopformula
\placeformula[eq:equation]
\startformula
\startcases
\NC E = mc^2 \NC some text\NR
\NC E = mc^2 \NC some more text\NR
\stopcases
\stopformula
\stoptext
Thanks.
[1] http://dl.contextgarden.net/myway/mathalign.pdf
-- Cédric
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2010-12-20 15:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 15:45 Cedric Mauclair [this message]
2010-12-21 8:19 ` Cedric Mauclair
2011-01-03 15:00 ` Cedric Mauclair
2011-01-04 14:19 ` Cedric Mauclair
2011-01-07 22:02 ` Hans Hagen
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=AANLkTinKG4b0452OyvmE+GU367cEjwqpFmcMhyA8N4zb@mail.gmail.com \
--to=cedric.mauclair@gmail.com \
--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).