MathGroup Archive 2006

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

Search the Archive

Re: Help !! problems with symbolize

  • To: mathgroup at
  • Subject: [mg68928] Re: [mg68880] Help !! problems with symbolize
  • From: "Chris Chiasson" <chris at>
  • Date: Wed, 23 Aug 2006 07:16:01 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at


It is likely you cut and pasted your input to the symbolize command to
the left hand side of your assignment. Go over to the "gamma_ion=2"
cell and hit ctrl+shift+e. If you see something like
TagBox[stuff,NotationBoxTag], then that is likely to be the problem.
In Mathematica, the TagBox applies its second argument to the first
argument (even though you can't see the second argument). In this
case, you probably ended up with NotationBoxTag[gamma_ion]=2. This
assignment will fail with an error because NotationBoxTag has the
Attribute Protected. In order to have the gamma_ion be interpreted as
a symbol, you will need to type it out one more time or be clever with
your manipulation of the *Box structures.


On 8/22/06, mintoo <varun.tangri at> wrote:
> Hi!
> I created a new symbol with symbolize. Say
> \!\(\*
>   RowBox[{"Symbolize", "[",
>     TagBox[\(γ\_ion\),
>       NotationBoxTag,
>       TagStyle->"NotationTemplateStyle"], "]"}]\)
> In plain english it meant gamma_ion    where ion was in a subscript
> what i want to do is:
> gamma_ion = 2
> g= gamma_ion  + 6
> my answer here is always in terms of gamma_ion but the value is never
> substituted. I get a
> Set::write : Tag NotationBoxTag in  ... is Protected error !!!
> how do i do this !!! I have tried in mathematica 4 & 5


  • Prev by Date: How to handle Arrays that has functional parameters:
  • Next by Date: Re: programming books / tutorials
  • Previous by thread: Help !! problems with symbolize
  • Next by thread: Re: Help !! problems with symbolize