From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31502 Path: news.gmane.org!not-for-mail From: MJK Newsgroups: gmane.comp.tex.context Subject: how to define a new math symbol Date: Tue, 24 Oct 2006 02:43:11 -0700 (PDT) Message-ID: <20061024094311.72810.qmail@web51814.mail.yahoo.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161683009 6758 80.91.229.2 (24 Oct 2006 09:43:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 09:43:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 24 11:43:26 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GcIof-0005UM-Q1 for gctc-ntg-context-518@m.gmane.org; Tue, 24 Oct 2006 11:43:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 15E0A1FE64; Tue, 24 Oct 2006 11:43:24 +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 18503-05; Tue, 24 Oct 2006 11:43:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96AC11FDEE; Tue, 24 Oct 2006 11:43:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA2341FE30 for ; Tue, 24 Oct 2006 11:43:15 +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 18411-05-3 for ; Tue, 24 Oct 2006 11:43:12 +0200 (CEST) Original-Received: from web51814.mail.yahoo.com (web51814.mail.yahoo.com [206.190.39.233]) by ronja.ntg.nl (Postfix) with SMTP id 54C161FDD5 for ; Tue, 24 Oct 2006 11:43:12 +0200 (CEST) Original-Received: (qmail 72812 invoked by uid 60001); 24 Oct 2006 09:43:11 -0000 Original-Received: from [80.127.211.252] by web51814.mail.yahoo.com via HTTP; Tue, 24 Oct 2006 02:43:11 PDT Original-To: ntg-context@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31502 Archived-At: Hi, I would like to use of the product integral (a curly \prod-like symbol which is to \prod what \int is to \sum) in Context. There is a LaTeX package (not official) available from Richard Gill's website (http://www.math.uu.nl/people/gill/, all the way at the bottom), which supplies a .sty file with the following contents: \ProvidesPackage{prodint} \DeclareFontFamily{U}{ProdInt}{} \DeclareFontShape{U}{ProdInt}{m}{n}{<-> prodint}{} \DeclareSymbolFont{Prodint}{U}{ProdInt}{m}{n} \DeclareMathSymbol{\prodi}{\mathop}{Prodint}{80} %80 prodinttext \DeclareMathSymbol{\Prodi}{\mathop}{Prodint}{82} %82 prodintdisplay \DeclareMathSymbol{\PRODI}{\mathop}{Prodint}{84} %84 prodintbig \endinput It also supplies a bunch of fontfiles, i.e. prodint.{afm,pfa,pfb,tfm}, and a map file prodint.map. As you can see, the package supplies three commands: \prodi, \Prodi and \PRODI, corresponding to three sizes. My question(s): how can I define similar commands (I'm guessing \definemathsymbol would be required) to use this symbol in Context? Is it possible to use the fontfiles supplied in the LaTeX package or should Texfont be used to enable the symbol in Context? Thanks, Maarten-Jan