MathGroup Archive 1998

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

Search the Archive

Re: Mathematica Ouput: subscripts and superscripts

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15115] Re: Mathematica Ouput: subscripts and superscripts
  • From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
  • Date: Sat, 12 Dec 1998 03:59:14 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Andreas Paul Friedrich Bernhard wrote:
>
...... 
> 
> I would like to use a variable defined as an x with two over
> dots (as in "x dot dot"), however Mathematica will not permit this.
>
>
But this can be done.
First get the Utilities`Notation` package.

In[1]:=
<<Utilities`Notation` 

Then depress Symbolize[] on the displayed Notation Palette. Now
(Symbolize[]) should be in a cell in your notebook. Click on the dark
square (properly none as \[SelectionPlaceholder])  inside the brackets
of Symbolize[].   Now type  x (CTRL,&) \[DoubleDot]
Evaluate this cell and (x double dot) should be a symbol.

Note:
By (CTRL,&)I mean to depress "CTRL" and "&" at the same time. (See the
Mathematica Book, section 3.10.2, page 909.)

You should end up with the cell represented by the code below.

(******* CODE **************)

\!\(\*
  RowBox[{"Symbolize", "[", 
    TagBox[\(x\&\[DoubleDot]\),
      NotationBoxTag,
      Editable->True], "]"}]\)

(******* CODE **************)

______________________________
> 
> Similarly I would like to define a variable defined as x with the
> subscript 0a, however Mathematica will treats the subscript as a
> seperate 0*a subexpression, rather than an intrinsic part of the
> variable definition.
> 
>

This may not be possible without using a String for "0a".

Cheers,
Ted Ersek


  • Prev by Date: rician random number
  • Next by Date: RE: Re: Re: Mathematica Ouput: subscripts and superscripts
  • Previous by thread: Re: Mathematica Ouput: subscripts and superscripts
  • Next by thread: RE: Re: Re: Mathematica Ouput: subscripts and superscripts