ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: MJK <mj_kallen@yahoo.com>
Subject: how to define a new math symbol
Date: Tue, 24 Oct 2006 02:43:11 -0700 (PDT)	[thread overview]
Message-ID: <20061024094311.72810.qmail@web51814.mail.yahoo.com> (raw)

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

             reply	other threads:[~2006-10-24  9:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24  9:43 MJK [this message]
2006-10-24 15:31 ` Taco Hoekwater
2006-10-25  8:18 M.J. Kallen
2006-10-25  8:40 ` Taco Hoekwater
2006-10-25  9:35 M.J. Kallen

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=20061024094311.72810.qmail@web51814.mail.yahoo.com \
    --to=mj_kallen@yahoo.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).