From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42856 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Equation numbers inside Theorem statements Date: Wed, 30 Jul 2008 16:06:21 +0200 Message-ID: <115224fb0807300706l296e1faen9b954b5ff560380e@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217427285 22604 80.91.229.12 (30 Jul 2008 14:14:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 14:14:45 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 30 16:15:28 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KOCQj-0004HO-Qv for gctc-ntg-context-518@m.gmane.org; Wed, 30 Jul 2008 16:13:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 737C61FC24; Wed, 30 Jul 2008 16:12:33 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30201-03; Wed, 30 Jul 2008 16:11:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9D1291FC06; Wed, 30 Jul 2008 16:07:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 672AD1FBEB for ; Wed, 30 Jul 2008 16:07:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26533-03-11 for ; Wed, 30 Jul 2008 16:06:40 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by ronja.ntg.nl (Postfix) with ESMTP id DF4541FC06 for ; Wed, 30 Jul 2008 16:06:22 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id c8so4928ana.14 for ; Wed, 30 Jul 2008 07:06:21 -0700 (PDT) Original-Received: by 10.100.215.5 with SMTP id n5mr8978338ang.89.1217426781419; Wed, 30 Jul 2008 07:06:21 -0700 (PDT) Original-Received: by 10.100.109.20 with HTTP; Wed, 30 Jul 2008 07:06:21 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42856 Archived-At: On Wed, Jul 30, 2008 at 3:48 PM, Ernesto Schirmacher wrote: > 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? \setupformulas[numberstyle={\rm\tf}] > 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*** 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________