Anyone ?
The glyphs are present in the Asana Math font.
---------- Forwarded message ----------
From: gummybears
On 23-5-2010 10:40, gummybears wrote:
Anyone ?
waiting for Aditya ...
The glyphs are present in the Asana Math font.
---------- Forwarded message ---------- From: gummybears
Date: Thu, May 13, 2010 at 5:03 PM Subject: Math symbols missing To: mailing list for ConTeXt users Hi
The following math symbols are missing,
0x222B normal integral \int 0x222C double integral \iint 0x222D triple integral \iiint 0x222E contour integral \oint 0x222F surface integral \oiint 0x2230 volume integral \oiiint
I also need the space-time integral \iiiint (4 i's)
Kind regards
PS Using latest stable context (MK-IV)
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, 23 May 2010, gummybears wrote:
The following math symbols are missing,
0x222B normal integral \int 0x222C double integral \iint 0x222D triple integral \iiint 0x222E contour integral \oint 0x222F surface integral \oiint 0x2230 volume integral \oiiint
I get these symbols (Wrong spacing between ints, see below): \usetypescript[asana] \setupbodyfont[asana] \starttext \startlines 0x222B normal integral $\int$ 0x222C double integral $\iint$ 0x222D triple integral $\iiint$ 0x222E contour integral $\oint$ 0x222F surface integral $\oiint$ 0x2230 volume integral $\oiiint$ \stoplines \stoptext Does it give the glyphs for you? If not, then something really is broken in your setup. Can you send me your log and output file offlist. The spacing around \int is different in MkII and MkIV. One can get the right spacing by playing around with \dointkern \def\dointkern {\mkern-6mu\mathchoice{\mkern-3mu}{}{}{}} For asana, change -6mu to -16mu.
I also need the space-time integral \iiiint (4 i's)
\definemathcommand[iiiint] {\repeatintegral{4}} Is there a unicode slot for this? Hans, we need a proper fallback mechanism for math glyphs. LM does not contain iint, etc, so we need to fake them, Asana and cambria do have them, so we should use the glyph from the font. Currently, the glyph is always faked. Aditya
On 24-5-2010 6:32, Aditya Mahajan wrote:
\def\dointkern {\mkern-6mu\mathchoice{\mkern-3mu}{}{}{}}
For asana, change -6mu to -16mu.
\def\fakerepeatintegral#1% {\scratchtoks\emptytoks \dorecurse{#1}{\appendtoks \integralrepeatsymbol \dointkern \to \scratchtoks}% \appendtoks \intop \dointlimits \dodointlimits \to \scratchtoks \edef\dodorepeatintegral{\the\scratchtoks}} \def\repeatintegral#1#2#3% {\let\dointlimits\donothing \let\dodointlimits\intlimits \iffontchar\textfont\zerocount#1\relax %\edef\dodorepeatintegral{\utfchar{#1}}% \let\dodorepeatintegral#2% \else \fakerepeatintegral{#3}% \fi \futurelet\next\dorepeatintegral} % This is a temporary solution, as we will make a virtual glyph in lm. \definemathcommand [iint] {\repeatintegral{"222B}\normaliint \plusone } \definemathcommand [iiint] {\repeatintegral{"222C}\normaliiint \plustwo } \definemathcommand [iiiint] {\repeatintegral{"222D}\normaliiiint\plusthree} -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
gummybears
-
Hans Hagen