MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: SUBSCRIPT WITHIN EXPRESSIONS



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




  • Prev by Date: Re: Can you solve this?
  • Next by Date: Is there a lowest Eigenvalues function around?
  • Prev by thread: SUBSCRIPT WITHIN EXPRESSIONS
  • Next by thread: Re: SUBSCRIPT WITHIN EXPRESSIONS