[NTG-context] how to define a new math symbol
mj_kallen at yahoo.com
Wed Oct 25 11:35:48 CEST 2006
Great, it works! Running "texexec --pdf test-prodint" worked immediately, but "xdvi test-prodint.dvi" gave me an error relating to mktexpk not being able to create a bitmap font. Solved this problem by running "updmap --enable Map prodint.map".
I don't think I could have done this myself, as I do not understand some of the steps in your solution.
Thank you very much!
----- Original Message ----
From: Taco Hoekwater <taco at elvenkind.com>
To: mailing list for ConTeXt users <ntg-context at ntg.nl>
Sent: Wednesday, October 25, 2006 10:40:10 AM
Subject: Re: [NTG-context] how to define a new math symbol
M.J. Kallen wrote:
> I'm not sure I understand your question. I'm using TexLive on a linux
> system. I do not use any other fonts other than CM.
That last bit of information is crucial, because there is a difference
between font handling between CM/Lm and commercial fonts.
I've been skyping with Hans and he came up with the code below.
You can use the font files from the LaTeX zip, you just have to
make sure that pdftex can find the (map) file, of course.
\definefontsynonym [MathGamma] [prodint]
\definefamilysynonym [default] [xop] [mc]
\definemathsymbol [prodi] [op] [xop]  %80 prodinttext
\definemathsymbol [Prodi] [op] [xop]  %82 prodintdisplay
\definemathsymbol [PRODI] [op] [xop]  %84 prodintbig
\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint]
\definetypeface [modern] [mm] [math] [modern]
ntg-context mailing list
ntg-context at ntg.nl
More information about the ntg-context