MathGroup Archive 2002

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

Search the Archive

Re: Why do parentheses spuriously appear when I type in a formula?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34580] Re: [mg34410] Why do parentheses spuriously appear when I type in a formula?
  • From: Andrzej Kozlowski <andrzej at platon.c.u-tokyo.ac.jp>
  • Date: Wed, 29 May 2002 02:44:25 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I have not followed this discussion carefully but something has just 
occurred to me, which may perhaps be useful (though I suspect you have 
already considered this). I think you can partly solve your problem by 
evaluating:

$Post = # /. Power[T_, a_] :> PrecedenceForm[Power[T, a], 1000] &;

Now if you enter

T Ctrl-^ a Ctrl-space Ctrl-_ b

you will still get the parentheses but if you evaluate the expression 
they won't be there any longer. You can use in-place evaluation to get 
rid of parentheses in inputs, which I think is a little less tedious 
than removing the brackets. I can't think at the moment of any negative 
side effects.

Andrzej


On Saturday, May 18, 2002, at 04:51  PM, Carl K. Woll wrote:

> Hi all,
>
> For some strange reason, I want to type into Mathematica an expression 
> that
> should look like T^a_b, that is, the b subscript of T raised to the a 
> power.
> My exact key strokes are T Ctrl-^ a Ctrl-space Ctrl-_ b. However, when I
> enter this expression into mathematica, it adds (spuriously in my mind) 
> some
> parentheses, so that I get (T^a)_b. I would like to know what causes 
> these
> parentheses to be added, and if there is anything I can do to prevent 
> them
> from appearing. What I have to do now is go back into the expression and
> edit out the parentheses.
>
> Carl Woll
> Physics Dept
> U of Washington
>
>
>
>
>
Andrzej Kozlowski
Toyama International University
JAPAN
http://platon.c.u-tokyo.ac.jp/andrzej/



  • Prev by Date: Re: Polar diagram contour plots?
  • Next by Date: Re: AW: how: suppressing digits (tick marks)?
  • Previous by thread: Re: Why do parentheses spuriously appear when I type in a formula?
  • Next by thread: RE: RE: Why do parentheses spuriously appear when I type in a formula?