From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20528 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Differnce between context and latex math Date: Thu, 26 May 2005 13:48:31 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1117264197 26859 80.91.229.2 (28 May 2005 07:09:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 May 2005 07:09:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat May 28 09:09:55 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbvRo-0001qw-C1 for gctc-ntg-context-518@m.gmane.org; Sat, 28 May 2005 09:09:28 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAA34127E9; Sat, 28 May 2005 09:11:43 +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 32149-01; Sat, 28 May 2005 09:11:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9CC91278B; Sat, 28 May 2005 09:11:39 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 71BCC12792 for ; Thu, 26 May 2005 20:48:35 +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 16833-02 for ; Thu, 26 May 2005 20:48:34 +0200 (CEST) Original-Received: from myhero.mr.itd.umich.edu (myhero.mr.itd.umich.edu [141.211.14.73]) by ronja.ntg.nl (Postfix) with ESMTP id 720E612791 for ; Thu, 26 May 2005 20:48:34 +0200 (CEST) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) (authenticated bits=0) by myhero.mr.itd.umich.edu (smtpauth) with ESMTP id j4QImV3p017316 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 26 May 2005 14:48:32 -0400 Original-To: mailing list for ConTeXt users X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Sat, 28 May 2005 09:11:38 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20528 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20528 Hi, I am trying to move from latex to context, but it seems that the defaults of both differ. Consider the following \defineenumeration [theorem] [ headstyle=bold, style=italic, location=hanging, text=Theorem, between=\blank ] \starttext \starttheorem This is a test \placeformula \startformula a = b \stopformula And the test continues. Notice that the equation number is in \type{\it} and not in \type{\upshape}. \stoptheorem \stoptext Notice that the equation number is italic. Compare this with something similar in latex \documentclass{article} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem} This is a test \begin{equation} a = b \end{equation} And the test continues. Notice that the equation number is in \verb|\upshape| and not in \verb|\it|. \end{theorem} \end{document} Here the equation number is in upshape. In latex equation numbers are always in upshape irrespective of the font type of the surrounding text. How can I get the same with context. Thanks -- Aditya Mahajan