From: "M.J. Kallen" <mj_kallen@yahoo.com>
Subject: Re: how to define a new math symbol
Date: Wed, 25 Oct 2006 01:18:04 -0700 (PDT) [thread overview]
Message-ID: <20061025081804.95085.qmail@web51812.mail.yahoo.com> (raw)
Taco,
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.
The file prodint.afm has the following contents:
StartFontMetrics 4.0
Comment This is prodint.afm created from prodint.pfb by t1lib V. 1.0.0.
Comment File creation date: Thu Mar 8 00:02:51 2001
Comment t1lib is copyright (c) Rainer Menzner, 1996, 1997, 1998.
Comment t1lib is distributed under the GNU General Public Library License (LGPL)
FontName prodint
FullName prodint
FamilyName prodint
Weight Plain
ItalicAngle 0
IsFixedPitch false
FontBBox 0 -53 2581 2298
UnderlinePosition 0
UnderlineThickness 0
Version 000.001
Notice 2001, JC Loredo-Osti. Based in R. Gill's `pi.ps'. Right to use, copy, distribute and modify this file is granted.
EncodingScheme FontSpecific
StdHW 47
StdVW 47
StartCharMetrics 7
C 80 ; WX 785 ; N prodinttext ; B 0 0 713 999 ;
C 82 ; WX 1255 ; N prodintdisplay ; B 0 0 1141 1599 ;
C 84 ; WX 1804 ; N prodintbig ; B 0 0 1640 2298 ;
C 120 ; WX 1205 ; N oldpitext ; B 13 -33 1237 966 ;
C 122 ; WX 1928 ; N oldpidisplay ; B 23 -53 1982 1547 ;
C 160 ; WX 1637 ; N ancientpitext ; B 50 -27 1611 974 ;
C 162 ; WX 2619 ; N ancientpidisplay ; B 81 -40 2581 1561 ;
EndCharMetrics
EndFontMetrics
End of file prodint.afm
So based on some of the symb-xxx.tex files, I tried
\loadmapfile[prodint.map]
\definefontsynonym [Prodint] [prodint]
\def\ProdintSymbol#1{\getglyph{Prodint}{\char#1}}
\startsymbolset
\definesymbol[prodi] [\ProdintSymbol{80}]
\definesymbol[Prodi] [\ProdintSymbol{82}]
\definesymbol[PRODI] [\ProdintSymbol{84}]
\stopsymbolset
but texexec stops when mktexfm cannot find the file 'prodint' or it says the TFM file is missing. Another problem with this approach is the fact that this does not define a MATH symbol, which is really what I would want. Based on the LaTeX style file prodint.sty, I'm guessing I'll at least need a command like:
\definemathsymbol [prodi] [op] [prodint] ["xx]
but I can't figure out the usage of this command. I also suspect that I can not used the prodint.tfm file, supplied with the LaTeX package, but need to run Texfont to create one for ConTeXt. Can you confirm this?
I greatly appreciate any help!
Maarten-Jan
----- Original Message ----
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Sent: Tuesday, October 24, 2006 5:31:10 PM
Subject: Re: [NTG-context] how to define a new math symbol
MJK wrote:
> 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:
What font setup do you use in ConTeXt?
Taco
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next reply other threads:[~2006-10-25 8:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-25 8:18 M.J. Kallen [this message]
2006-10-25 8:40 ` Taco Hoekwater
-- strict thread matches above, loose matches on Subject: below --
2006-10-25 9:35 M.J. Kallen
2006-10-24 9:43 MJK
2006-10-24 15:31 ` Taco Hoekwater
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=20061025081804.95085.qmail@web51812.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).