Hi all, I need to typeset some equations and I found out that these commands are undefined or don't work correctly (ver: 2009.04.17 19:32 MKIV): \iint, \iiint, etc. \oint, \oiint, etc. \nabla What is the prefered way of typesetting those symbols? (e.g. \mathop{\int \!\!\! \int} or something like that?) Is there a website or a pdf-file dealing with mathematical symbols in ConTeXt? Thanks Tomas
On Tue, 21 Apr 2009, Tomas Kisela wrote:
Hi all,
I need to typeset some equations and I found out that these commands are undefined or don't work correctly (ver: 2009.04.17 19:32 MKIV):
\iint, \iiint, etc. \oint, \oiint, etc.
I don't know why \iint and \iint are failing. \oiint is not defined in mkii, so there is no definition in mkiv. \oint is working here.
\nabla
Change the following in math-vfu diff --git a/math-vfu.lua b/math-vfu.lua index 386175d..7c30c37 100644 --- a/math-vfu.lua +++ b/math-vfu.lua @@ -929,7 +929,7 @@ fonts.enc.math["traditional-sy"] = { [0x02240] = 0x6F, -- wr [0x0221A] = 0x70, -- sqrt. AM: Check surd?? [0x02A3F] = 0x71, -- amalg - [0x02207] = 0x72, -- nabla + [0x1D6FB] = 0x72, -- nabla -- [0x0222B] = 0x73, -- smallint (TODO: what about intop?) [0x02294] = 0x74, -- sqcup [0x02293] = 0x75, -- sqcap
What is the prefered way of typesetting those symbols? (e.g. \mathop{\int \!\!\! \int} or something like that?)
It is more complicated, since you need to adjust for limits. These are defined in math-ini.mkiv, but for some reason the definitions are not kicking in. Aditya
Thanks for nabla. I can handle the commands for multiple integrals by myself in the way I sketched before. Contour integral \oint is working but not correctly in my case. This code: \starttext \startformula \oint\limits_{\partial S} \vec{F}\cdot{\rm d}\vec{l}=\mathop{\int\!\!\!\int}\limits_{\bs S\phantom{M}} \vec{\nabla} \times \vec{F}\cdot{\rm d}\vec{S} \stopformula \stoptext gives the result in the attachment (I know I can typeset it by a combination of \circle and \int or something similar, my point is just to show the problem with \oint). Thanks for help, Best regards, Tomas ______________________________________________________________
Od: adityam@umich.edu Komu: mailing list for ConTeXt users
Datum: 21.04.2009 15:35 Předmět: Re: [NTG-context] Some symbols of mathematical calculus missing? On Tue, 21 Apr 2009, Tomas Kisela wrote:
Hi all,
I need to typeset some equations and I found out that these commands are undefined or don't work correctly (ver: 2009.04.17 19:32 MKIV):
iint, iiint, etc. oint, oiint, etc.
I don't know why iint and iint are failing. oiint is not defined in mkii, so there is no definition in mkiv. oint is working here.
nabla
Change the following in math-vfu
diff --git a/math-vfu.lua b/math-vfu.lua index 386175d..7c30c37 100644 --- a/math-vfu.lua +++ b/math-vfu.lua @@ -929,7 +929,7 @@ fonts.enc.math["traditional-sy"] = { [0x02240] = 0x6F, -- wr [0x0221A] = 0x70, -- sqrt. AM: Check surd?? [0x02A3F] = 0x71, -- amalg - [0x02207] = 0x72, -- nabla + [0x1D6FB] = 0x72, -- nabla -- [0x0222B] = 0x73, -- smallint (TODO: what about intop?) [0x02294] = 0x74, -- sqcup [0x02293] = 0x75, -- sqcap
What is the prefered way of typesetting those symbols? (e.g. mathop{int !!! int} or something like that?)
It is more complicated, since you need to adjust for limits. These are defined in math-ini.mkiv, but for some reason the definitions are not kicking in.
Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Tue, 21 Apr 2009, Tomas Kisela wrote:
Thanks for nabla. I can handle the commands for multiple integrals by myself in the way I sketched before.
Contour integral \oint is working but not correctly in my case. This code:
Apply the patch to math-vfu diff --git a/math-vfu.lua b/math-vfu.lua index 386175d..ca099f0 100644 --- a/math-vfu.lua +++ b/math-vfu.lua @@ -545,6 +545,7 @@ fonts.enc.math["large-to-small"] = { [0x021D3] = 0x7F, -- Downarrow [0x0220F] = 0x59, -- prod [0x0222B] = 0x5A, -- intop + [0x0222E] = 0x49, -- ointop [0x02210] = 0x61, -- coprod [0x02211] = 0x58, -- sum [0xFE302] = 0x62, -- widehat and regenerate formats. Aditya
Thank you, Aditya. Best regards, Tomas ______________________________________________________________
Od: adityam@umich.edu Komu: mailing list for ConTeXt users
Datum: 21.04.2009 21:02 Předmět: Re: [NTG-context] Some symbols of mathematical calculus missing? On Tue, 21 Apr 2009, Tomas Kisela wrote:
Thanks for nabla. I can handle the commands for multiple integrals by myself in the way I sketched before.
Contour integral oint is working but not correctly in my case. This code:
Apply the patch to math-vfu
diff --git a/math-vfu.lua b/math-vfu.lua index 386175d..ca099f0 100644 --- a/math-vfu.lua +++ b/math-vfu.lua @@ -545,6 +545,7 @@ fonts.enc.math["large-to-small"] = { [0x021D3] = 0x7F, -- Downarrow [0x0220F] = 0x59, -- prod [0x0222B] = 0x5A, -- intop + [0x0222E] = 0x49, -- ointop [0x02210] = 0x61, -- coprod [0x02211] = 0x58, -- sum [0xFE302] = 0x62, -- widehat
and regenerate formats.
Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Aditya Mahajan
-
Tomas Kisela