"depends" problem of variables with subscripts



In fact, I encounter this problem when I want to get an output of
greek letters with subscripts in wxmaxima, I googled and found that
greek letters output can be acquired by input like "%alpha", but
inputing "%alpha1" will give an output same as the input, instead of a
greek letter. The only way I know to include a subscript is using an
array.

"x1" is still ok for me, but displaying greek letters in a way like
"alpha" will be very inconvenient, especially when the expression is
long.

so is there any way around this in wxmaxima and using a scalar
variable with subscripts/superscripts?

On 7/9/07, Richard Fateman <fateman at cs.berkeley.edu> wrote:
> Use x1  instead of x[1].
> X[1] is an array.  Using it as a subscripted variable is a kind of pun and
> you can't use it in all ways that you can use x1.
>
> There are other ways around what you might want to do, but just using x1 is
> simple.
> If you want to produce a variable with superscripts, that too can be done by
> a kind of pun, but better not to use that either.
>
>