Re: a question about subscript

*To*: mathgroup at smc.vnet.net*Subject*: [mg57835] Re: [mg57820] a question about subscript*From*: "Jaccard Florian" <Florian.Jaccard at he-arc.ch>*Date*: Thu, 9 Jun 2005 06:12:00 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hello ! First, load the following package : In[1]:= << "Utilities`Notation`" Then, click in the automatically opened palette on Symbolize[ ] In the filled square, type t1 (i.e. t subscript 1) Here the InputForm : In[2]:= Symbolize[NotationBoxTag[\(t\_1\)]] Then, it works fine : In[3]:= v[t_] = t + tâ?µSubscriptâ?µ1 Out[3]= t + tâ?µSubscriptâ?µ1 In[4]:= v[0] Out[4]= tâ?µSubscriptâ?µ1 You can also let all the subscript varaibles become "normal" by writing Symbolize[NotationBoxTag[\(_\__\)]] Regards F.Jaccard -----Message d'origine----- DeÂ : Zhou Jiang [mailto:jiangzhou_yz at yahoo.com] EnvoyÃ©Â : jeudi, 9. juin 2005 11:18 Ã?Â : mathgroup at smc.vnet.net ObjetÂ : [mg57820] a question about subscript Hi, my friends, I want to take the advantage of the subscript in Mathematica 5.1. I defined a function like the following: v[t_]=t+t1 Since this is a plane text, I cannot type in the subscript t1 (i.e., t sub 1) for you. This is so simple which represents a time translocation of t1. I want Mathematica to compute v[0] and it is supposed to give t1 (ie. t sub 1). I typed in v[0] but Mathematica gives me 01 (i.e., 0 sub 1). Obviously it is not the correct answer. Can anyone give me some insight of this delima? Thanks a lot.