2
$\begingroup$

I am having difficulty using Mathematica as an equation editor because it wants to evaluate the equation, instead of just format it. For example:

$\frac{D\text{Decay Rate}}{R_A^2 \left(\frac{\eta }{2}+\frac{7}{96 \eta }+O\left(\frac{1}{\eta ^2}\right)-\frac{1}{8}\right)}$

Is generating complaints.

Is there anyway to do this, or is it back to Latex?

$\endgroup$
  • 2
    $\begingroup$ Why would you want to type Latex code in Mathematica? Anyways, if you don't want to evaluate it just make it a text cell $\endgroup$ – Felix Feb 2 '17 at 21:08
  • $\begingroup$ @Felix If it is formatted as text then it does not look the same as TraditionalForm $\endgroup$ – Tyler Durden Feb 2 '17 at 21:30
3
$\begingroup$

Wrap the equation in TraditionalForm[HoldForm[expr]].

For example (I can't quite decipher your equation)

TraditionalForm[
 HoldForm["Decay Rate"/(Subscript[R, a]^2 
   (η/2 + 7/(96 η) + O*(1/η^2) - 1/8))]]

produces

Mathematica graphics

You can further wrap this in Magnify or Style to control the color, font or size.

You can double click on the output cell to hide the verbose expression that creates the output.

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.