MathGroup Archive 2011

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

Search the Archive

copying Inline math to create StandardForm in Input cell

  • To: mathgroup at
  • Subject: [mg120977] copying Inline math to create StandardForm in Input cell
  • From: Dushan Mitrovich <dushanm at>
  • Date: Sat, 20 Aug 2011 06:16:08 -0400 (EDT)
  • Delivered-to:

I'm using Mathematica 8 under Mac OS X.6.5.  I'd appreciate some guidance
on the proper way to copy Inline math expressions and paste them as 
StandardForm into a cell.  Sometimes it works, often it doesn't, and I 
don't know what needs be done to correct the problem.

Generally I write Notebooks as technical reports, using text and Inline 
formulas, and with executable Input cells only when needed.  When I need 
to operate in some way on an Inline math expression, I highlight the 
relevant part, copy it, past it into a separate Input cell, then edit 
that into Mathematica format (so 'sin(x)' is modified to read 'Sin[x]', 
etc.).  Sometimes extra modifications are needed as well.

Executing the Input cell generally works if there are no extra 
modifications, but if there are, various errors occur.  Apparently the 
expression being copied contains formatting information that isn't 
visible unless I paste it into a text editor.  Attempts to convert the 
expression into StandardForm or InputForm had no effect.  Here's a 
probably superfluous example:

\*FractionBox[\(Sin[\[Theta]]\), \(2  Sinh[
\*FractionBox[\(1\), \(2\)] \((
\*SubscriptBox[\(\[Xi]\), \(A\)] -
\*SubscriptBox[\(\[Xi]\), \(B\)])\)]\)] \((
\*SubscriptBox[\(\[Xi]\), \(A\)]] + Cos[\[Theta]]\), \(Cosh[
\*SubscriptBox[\(\[Xi]\), \(B\)]] + Cos[\[Theta]]\)]] -
\*SubscriptBox[\(\[Xi]\), \(B\)]] + Cos[\[Theta]]\), \(Cosh[
\*SubscriptBox[\(\[Xi]\), \(A\)]] + Cos[\[Theta]]\)]])\)\),
\*SubscriptBox[\(\[Xi]\), \(A\)] -> \[Infinity]\), \
\!\(TraditionalForm\`Assumptions -> {
\*SubscriptBox[\(\[Xi]\), \(B\)] > 0, \[Theta] \[Element] Reals}\)]

Obviously I'm going about it incorrectly.  Could someone point me to 
instructions on how to do it right?  Thanks.

- Dushan
   [ reverse the middle word of address to reply ]

  • Prev by Date: Re: Memory when reding in data
  • Next by Date: Re: Simple Doppler effect
  • Previous by thread: Re: Getting 3d printable models out of 3d graphics in Mathematica
  • Next by thread: Re: copying Inline math to create StandardForm in Input cell