Re: SUBSCRIPT WITHIN EXPRESSIONS
- To: mathgroup@smc.vnet.net
- Subject: [mg10990] Re: SUBSCRIPT WITHIN EXPRESSIONS
- From: Allan Hayes <hay@haystack.demon.co.uk>
- Date: Mon, 16 Feb 1998 03:39:57 -0500
- References: <6c645k$649@smc.vnet.net>
Lawrence Walker wrote:
>
> The following yield predictable results.
>
> In:= D[a[0] a,a]
> Out:= a[0]
>
> I thought maybe the symbol a[0] will look better if I used an 'a' with a
> subscripted '0' instead.
>
> But to my surprise the following...
>
> In:= \!\(D[a\_0\ \ \ a, a]\)
>
> yielded...
>
> Out:=
> \!\(\*
> RowBox[{\(a\_0\), "+",
> RowBox[{"a", " ",
> RowBox[{
> SuperscriptBox["Subscript",
> TagBox[\((1, 0)\),
> Derivative],
> MultilineFunction->None], "[", \(a, 0\), "]"}]}]}]\)
>
> How do I get the subscripted 'a' to work as intended ( like the a[0] )?
>
> Lawrence Walker
Lawrence:
See Help>Help>Add-ons>Extra Utilities>Functions In[1]:=
<<Utilities`Notation`
Using the palette that is produced, enter
Symbolize[a\_0] (*abridged notation*)
To symbolize all subscripts use
Symbolize[_\__]
Allan Hayes
Mathematica Training and Consulting
Leicester, UK
hay@haystack.demon.co.uk
http://www.haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642