MathGroup Archive 2003

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

Search the Archive

Re: Problem for exponent and indice

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39839] Re: [mg39796] Problem for exponent and indice
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Sat, 8 Mar 2003 02:50:23 -0500 (EST)
  • References: <200303070839.DAA15594@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

The easiest way is to use the Basic Typesetting palette. There you will find
a template for the situation you describe. If the palette doesn't show up on
starting Mathematica, use File | Palettes | 5 BasicTypesetting. Now, bear in
mind that whereas the exponent "2" is understood as such, the subscript i
has no meaning by itself and if you want to use it to denote the i-th partof
the list x you must previously define it to mean that (see The Book,
2.8.15). The x with subscript i obtained with the palette is equivalent to
Subscript[x, i]. Then for example, define

In[1]:=
Subscript[x_,  i_] := x[[i]]

In[2]:=
x = {1, 3, 8}; a = {4, 5, 6};

In[3]:=
Subscript[x, 1]
Out[3]=
1
In[4]:=
Subscript[a, 2]
Out[4]=
5

Tomas Garza
Mexico City

----- Original Message -----
From: "Rodolphe" <rodolphe_lampe at yahoo.fr>
To: mathgroup at smc.vnet.net
Subject: [mg39839] [mg39796] Problem for exponent and indice


>
> I want to put an exponent and an indice on a same Letter like that :
>
>         2
> X
>          i
>
> How can I do ?
>
>




  • Prev by Date: Re: How to convert string to variable name
  • Next by Date: Re: Functional differentiation on the lattice
  • Previous by thread: Problem for exponent and indice
  • Next by thread: Re: Problem for exponent and indice