MathGroup Archive 2003

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

Search the Archive

Re: Design problem in 4.2?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38730] Re: Design problem in 4.2?
  • From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
  • Date: Tue, 7 Jan 2003 07:26:36 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Jonathan Mann wanted to have a muliplication sign used when the result of
the following is displayed.

In[1]:=  40 (8)^t

Out[1]  5 8^(1+t)

--------------
You can evaluate the following to make things work the way you want.

In[2]:=  MakeBoxes[n_Integer*m_Integer^pow_,form_]:=
   RowBox[{ToString[n],"*",SuperscriptBox[ToString[m],MakeBoxes[pow,form]]}]


-------------
If you put this line of code in your (init.m) file it will evaluate every
time Mathematica is launched.

Regards,
  Ted Ersek

Download my collection of Mathematica tricks from:  
http://www.verbeia.com/mathematica/tips/Tricks.html
and  
http://www.verbeia.com/mathematica/tips/GraphicsTricks.html




  • Prev by Date: FONT PROBLEM, SuSe Linux 7.3 Mathematica 4.0 FrontEnd
  • Next by Date: Re: A clarification question
  • Previous by thread: Re: Design problem in 4.2?
  • Next by thread: Re: Design problem in 4.2?