ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Some symbols of mathematical calculus missing?
       [not found]             ` <200904210010.4793@centrum.cz>
@ 2009-04-20 22:10               ` Tomas Kisela
  2009-04-21 13:32                 ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Kisela @ 2009-04-20 22:10 UTC (permalink / raw)
  To: ntg-context

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Some symbols of mathematical calculus missing?
  2009-04-20 22:10               ` Some symbols of mathematical calculus missing? Tomas Kisela
@ 2009-04-21 13:32                 ` Aditya Mahajan
  2009-04-21 18:05                   ` Tomas Kisela
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2009-04-21 13:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Some symbols of mathematical calculus missing?
  2009-04-21 13:32                 ` Aditya Mahajan
@ 2009-04-21 18:05                   ` Tomas Kisela
  2009-04-21 19:00                     ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Kisela @ 2009-04-21 18:05 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 2597 bytes --]

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 <ntg-context@ntg.nl>
> 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
>___________________________________________________________________________________
>


[-- Attachment #2: pokus.pdf --]
[-- Type: application/pdf, Size: 15384 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Some symbols of mathematical calculus missing?
  2009-04-21 18:05                   ` Tomas Kisela
@ 2009-04-21 19:00                     ` Aditya Mahajan
  2009-04-21 20:54                       ` Tomas Kisela
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2009-04-21 19:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Some symbols of mathematical calculus missing?
  2009-04-21 19:00                     ` Aditya Mahajan
@ 2009-04-21 20:54                       ` Tomas Kisela
  0 siblings, 0 replies; 5+ messages in thread
From: Tomas Kisela @ 2009-04-21 20:54 UTC (permalink / raw)
  To: ntg-context

Thank you, Aditya.

Best regards,
Tomas

______________________________________________________________
> Od: adityam@umich.edu
> Komu: mailing list for ConTeXt users <ntg-context@ntg.nl>
> 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
>___________________________________________________________________________________
>

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-21 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200904210003.4155@centrum.cz>
     [not found] ` <200904210004.17116@centrum.cz>
     [not found]   ` <200904210005.7033@centrum.cz>
     [not found]     ` <200904210006.7272@centrum.cz>
     [not found]       ` <200904210007.7684@centrum.cz>
     [not found]         ` <200904210008.18186@centrum.cz>
     [not found]           ` <200904210009.8558@centrum.cz>
     [not found]             ` <200904210010.4793@centrum.cz>
2009-04-20 22:10               ` Some symbols of mathematical calculus missing? Tomas Kisela
2009-04-21 13:32                 ` Aditya Mahajan
2009-04-21 18:05                   ` Tomas Kisela
2009-04-21 19:00                     ` Aditya Mahajan
2009-04-21 20:54                       ` Tomas Kisela

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).