ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Nabla operator appears italic in formula
@ 2013-03-23 20:34 Xenia
  2013-03-24 10:24 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Xenia @ 2013-03-23 20:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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

[-- Attachment #2: nabla.pdf --]
[-- Type: application/pdf, Size: 6251 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: nabla.tex --]
[-- Type: text/x-tex; name="nabla.tex", Size: 80 bytes --]

\starttext
\startformula
\nabla \phi = ∇ ϕ = 0
\stopformula
\stoptext


[-- Attachment #4: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Nabla operator appears italic in formula
  2013-03-23 20:34 Nabla operator appears italic in formula Xenia
@ 2013-03-24 10:24 ` Hans Hagen
  2013-03-24 11:23   ` Otared Kavian
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2013-03-24 10:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: Nabla operator appears italic in formula
  2013-03-24 10:24 ` Hans Hagen
@ 2013-03-24 11:23   ` Otared Kavian
  2013-03-24 14:17     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2013-03-24 11:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On 24 mars 2013, at 11:24, Hans Hagen <pragma@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
___________________________________________________________________________________

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

* Re: Nabla operator appears italic in formula
  2013-03-24 11:23   ` Otared Kavian
@ 2013-03-24 14:17     ` Hans Hagen
  2013-03-24 20:18       ` Xenia
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2013-03-24 14:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian

On 3/24/2013 12:23 PM, Otared Kavian wrote:
>
> On 24 mars 2013, at 11:24, Hans Hagen <pragma@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
___________________________________________________________________________________

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

* Re: Nabla operator appears italic in formula
  2013-03-24 14:17     ` Hans Hagen
@ 2013-03-24 20:18       ` Xenia
  0 siblings, 0 replies; 5+ messages in thread
From: Xenia @ 2013-03-24 20:18 UTC (permalink / raw)
  To: ntg-context

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

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

end of thread, other threads:[~2013-03-24 20:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-23 20:34 Nabla operator appears italic in formula Xenia
2013-03-24 10:24 ` Hans Hagen
2013-03-24 11:23   ` Otared Kavian
2013-03-24 14:17     ` Hans Hagen
2013-03-24 20:18       ` Xenia

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