From: Ernesto Schirmacher <ernesto_schirmacher@hotmail.com>
To: <ntg-context@ntg.nl>
Subject: Equation numbers inside Theorem statements
Date: Wed, 30 Jul 2008 09:48:55 -0400 [thread overview]
Message-ID: <BLU135-W47B0C1AB2181E6A2C8F265977D0@phx.gbl> (raw)
In-Reply-To: <mailman.1.1217066402.5647.ntg-context@ntg.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1265 bytes --]
Dear ConTeXt experts,
I have another question regarding Theorems and equation
numbers.
I defined an enumeration that produces theorem statements
in slanted style.
Whenever I have an equation inside the theorem statement the
equation number is also typeset in slanted style. But I would like
the equation number to come out in normal style.
Any suggestions on how I can achieve this effect?
Thanks in advance,
Ernesto
***Start example***
\defineenumeration
[THM]
[location=serried,
text=Theorem,
right=.]
\setupenumerations
[THM]
[headstyle=bold,
width=,
distance=8pt]
\setupenumerations
[THM]
[style=slanted]
\starttext
Here comes the first theorem:
\startTHM
Let $F$ be an $n$-dimensional distribution function with marginal
functions $F_1, F_2, \ldots, F_n$. Then there exists an
$n$-dimensional copula $C$ such that for all $(x_1, \ldots, x_n) \in
\Bbb{R}^n$,
\placeformula[eq:copula-representation]
\startformula
F(x_1, \ldots, x_n) = C(F_1(x_1), \ldots, F_n(x_n)).
\stopformula
If the functions $F_1, \ldots, F_n$ are all continuous, then $C$ is
unique; otherwise, $C$ is uniquely determined on $\Ran F_1 \times
\cdots \times \Ran F_n$.
\stopTHM
\stoptext
***Stop example***
[-- Attachment #1.2: Type: text/html, Size: 1776 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-07-30 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1217066402.5647.ntg-context@ntg.nl>
2008-07-30 13:39 ` Figures and Captions Ernesto Schirmacher
2008-07-30 13:49 ` Wolfgang Schuster
2008-07-30 13:48 ` Ernesto Schirmacher [this message]
2008-07-30 14:06 ` Equation numbers inside Theorem statements Wolfgang Schuster
2008-07-30 15:19 ` Aditya Mahajan
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=BLU135-W47B0C1AB2181E6A2C8F265977D0@phx.gbl \
--to=ernesto_schirmacher@hotmail.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).