Mathematica Mathematica: copying math without pretty-print?

  • Thread starter Thread starter FocusedWolf
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
To disable pretty-printing in Mathematica and revert to a plain text format, users can utilize the shortcut Control + Shift + I, which converts expressions to InputForm. This allows for easier copying and pasting into other applications like MATLAB, as it presents expressions in a straightforward manner, such as "Integrate[Sqrt[-(I*x)^2], {x, 0, Pi}]" instead of using more complex symbols. Additionally, the shortcut Control + Shift + N can be used to switch back to the pretty-print format.
FocusedWolf
Messages
81
Reaction score
0
[SOLVED] Mathematica: copying math without pretty-print?

Hi,
how do you turn off the pretty print? i did this once by axcident but i can't figure out the keys i pressed... it was helpful cause i needed to do that anyway to paste it in matlab... anyone know how i did it so you can explain it to me? :P
 
Physics news on Phys.org
Control + Shift + I converts to InputForm, as does applying InputForm to the expression.
Then expressions will be written like
Integrate[Sqrt[-(I*x)^2], {x, 0, Pi}]
instead of with the fancy integrals and doublestruck and greek symbols.

(For completeness, Ctrl + Shift + N produces the fancy-print)
 
Last edited:
Thanks
 

Similar threads

Replies
2
Views
2K
Replies
19
Views
2K
Replies
6
Views
4K
Replies
4
Views
3K
Replies
12
Views
2K
Replies
1
Views
3K
Back
Top