       • To: mathgroup at smc.vnet.net
• Subject: [mg44522] Re: Readability confuses mathematica?
• From: "Steve Luttrell" <luttrell at _removemefirst_westmal.demon.co.uk>
• Date: Thu, 13 Nov 2003 02:27:20 -0500 (EST)
• References: <botcm2\$ci7\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```You need to use Symbolize in the Utilities`Notation` package.

First of all reproduce your problem:

In:=
D[x - x\[UnderBracket]Subscript\[UnderBracket]0, x]
Out=
1 - Derivative[1, 0][Subscript][x, 0]

Now read in the Utilities`Notation` package:

In:=
<< "Utilities`Notation`"

Use Symbolize to make sure x\[UnderBracket]Subscript\[UnderBracket]0 is
treated as an independent symbol in its own right. You have to enter
Symbolize from the Notation palette to ensure that the appropriate bits and
pieces (i.e. the tag box) get entered correctly.

In:=
Symbolize[NotationBoxTag[\(x\_0\)]]

In:=
D[x - x\[UnderBracket]Subscript\[UnderBracket]0, x]
Out=
1

This is the answer you wanted.

--
Steve Luttrell
West Malvern, UK

"patrick_m_lahey" <patrick.m.lahey at aero.org> wrote in message
news:botcm2\$ci7\$1 at smc.vnet.net...
> I am new to mathematica so perhaps there is a simple answer to this
>
> Consider:
>
> In:= D[x-x0,x]
>
> except that x0 is really x ctrl-- 0 (x subscript 0).  Normally that
> would be a completely independent variable from x but not according to
> mathematica!
>
> Out=1-Subscript(1,0)[x,0]
>
> (the (1,0) is a superscript of Subscript).
>
> One of the things that attracted me to mathematica was the ability to
> work with expressions that closely mirrored the true expressions of
> interest (a readability issue really...).
>
> Is there anything that can be done here?
>

```

• Prev by Date: Re: Simple Sum problem
• Next by Date: Re: plotting streamlines from vector data