DocumentationMathematicaThe Mathematica BookA Practical Introduction to MathematicaFiles and External Operations
1.11.5 Exporting Formulas from Notebooks
Here is a cell containing a formula.
This is what you get if you copy the formula and paste it into an external text-based program.
\!\(-\(ArcTan[\(1 + 2 x\)\/\@3]\/\@3\) + Log[-1 + x]\/3
- Log[1 + x + x\^2]\/6\)
Pasting the text back into a notebook immediately reproduces the original formula.
Mathematica allows you to export formulas both textually and visually. You can use Export to tell Mathematica to write a visual representation of a formula into a file.
Exporting expressions in visual form.