Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Hans Hagen

On 3/23/2013 9:34 PM, Xenia wrote:

Dear context list,

using the nabla symbol ∇ in formulas, I wondered why it looks italic and
not upright as for example in [1].
I attach an example.


Because that's how it's defined in math italics ... is nabla always 
supposed to be upright in standard math italic mode?


(I'll change the \nable definition to \unexpanded\def\nabla{∇}.)

Hans

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

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Otared Kavian

On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote:

 On 3/23/2013 9:34 PM, Xenia wrote:
 Dear context list,
 
 using the nabla symbol ∇ in formulas, I wondered why it looks italic and
 not upright as for example in [1].
 I attach an example.
 
 Because that's how it's defined in math italics ... is nabla always supposed 
 to be upright in standard math italic mode?
 
 (I'll change the \nable definition to \unexpanded\def\nabla{∇}.)
 
 Hans

Hi, 

\nabla should be italic if all other math greek symbols, like \Omega, \Gamma, 
\sum, ect are set in italic. Otherwise \nabla and all such symbols should be 
upright.
Would it be possible to make this optional in math italics, something like
\setupmathematics[mathsymbols=italic]
or 
\setupmathematics[mathsymbols=upright]
Maybe this should be set when one chooses the greek letters to be italic or 
upright in mathematics.

Best regards: OK
___
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
___

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Hans Hagen

On 3/24/2013 12:23 PM, Otared Kavian wrote:


On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote:


On 3/23/2013 9:34 PM, Xenia wrote:

Dear context list,

using the nabla symbol ∇ in formulas, I wondered why it looks italic and
not upright as for example in [1].
I attach an example.


Because that's how it's defined in math italics ... is nabla always supposed to 
be upright in standard math italic mode?

(I'll change the \nable definition to \unexpanded\def\nabla{∇}.)

Hans


Hi,

\nabla should be italic if all other math greek symbols, like \Omega, \Gamma, 
\sum, ect are set in italic. Otherwise \nabla and all such symbols should be 
upright.
Would it be possible to make this optional in math italics, something like
\setupmathematics[mathsymbols=italic]
or
\setupmathematics[mathsymbols=upright]
Maybe this should be set when one chooses the greek letters to be italic or 
upright in mathematics.


That is already there

\setupmathematics
  [lcgreek=italic,
   ucgreek=normal]

(normal, italic, none)

I've added sygreek so that one can also influence the nable and 
differential (default normal). I tested with:


\starttext
\startTEXpage
\startlines
\type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
\type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
\type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
\type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0}
\type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0}
\blank
\type{--}: \mathematics{\mathgreekupright \nabla \phi = 
∇ ϕ = 0}
\type{it}: \mathematics{\it \mathgreekupright \nabla \phi = 
∇ ϕ = 0}
\type{bf}: \mathematics{\bf \mathgreekupright \nabla \phi = 
∇ ϕ = 0}
\type{bi}: \mathematics{\bi \mathgreekupright \nabla \phi = 
∇ ϕ = 0}
\type{tf}: \mathematics{\tf \mathgreekupright \nabla \phi = 
∇ ϕ = 0}

\blank
\setupmathematics[sygreek=italic]
\type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
\type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
\type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
\type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0}
\type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0}
\stoplines
\stopTEXpage
\stoptext


Hans


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

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Xenia
On 24.03.2013 15:17, Hans Hagen wrote:
 On 3/24/2013 12:23 PM, Otared Kavian wrote:

 On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote:

 On 3/23/2013 9:34 PM, Xenia wrote:
 Dear context list,

 using the nabla symbol ∇ in formulas, I wondered why it looks italic
 and
 not upright as for example in [1].
 I attach an example.

 Because that's how it's defined in math italics ... is nabla always
 supposed to be upright in standard math italic mode?

 (I'll change the \nable definition to \unexpanded\def\nabla{∇}.)

 Hans

 Hi,

 \nabla should be italic if all other math greek symbols, like \Omega,
 \Gamma, \sum, ect are set in italic. Otherwise \nabla and all such
 symbols should be upright.
 Would it be possible to make this optional in math italics, something
 like
 \setupmathematics[mathsymbols=italic]
 or
 \setupmathematics[mathsymbols=upright]
 Maybe this should be set when one chooses the greek letters to be
 italic or upright in mathematics.
 
 That is already there
 
 \setupmathematics
   [lcgreek=italic,
ucgreek=normal]
 
 (normal, italic, none)
 
 I've added sygreek so that one can also influence the nable and
 differential (default normal). I tested with:
 
 \starttext
 \startTEXpage
 \startlines
 \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
 \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
 \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
 \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0}
 \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0}
 \blank
 \type{--}: \mathematics{\mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{it}: \mathematics{\it \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{bf}: \mathematics{\bf \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{bi}: \mathematics{\bi \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \type{tf}: \mathematics{\tf \mathgreekupright \nabla \phi =
 ∇ ϕ = 0}
 \blank
 \setupmathematics[sygreek=italic]
 \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
 \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
 \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
 \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0}
 \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0}
 \stoplines
 \stopTEXpage
 \stoptext

Great, thank you!
___
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
___

[NTG-context] Nabla operator appears italic in formula

2013-03-23 Thread Xenia
Dear context list,

using the nabla symbol ∇ in formulas, I wondered why it looks italic and
not upright as for example in [1].
I attach an example.

Thanks,
Xenia

[1] https://en.wikipedia.org/wiki/Nabla_symbol


nabla.pdf
Description: Adobe PDF document
\starttext
\startformula
\nabla \phi = ∇ ϕ = 0
\stopformula
\stoptext

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