Mathematica Copy and paste input commands in mathematica

AI Thread Summary
To effectively copy and paste input commands from Mathematica into forums or email platforms like Hotmail without losing formatting, users can utilize Mathematica's ability to convert expressions into LaTeX code. This can be done using a command that generates LaTeX output, which can then be pasted into text editors that support LaTeX formatting. While direct pasting of Mathematica input may not preserve the desired appearance, converting to LaTeX provides a solution for maintaining mathematical clarity. Additionally, using specific formatting tags in forums may enhance the presentation of mathematical content.
Nusc
Messages
752
Reaction score
2

Homework Statement



How do I copy and paste input commands in mathematica and paste them in forums or hotmail so they don't appear as they do in the post below 'Mathematica'?

This has been bothering me for sometime. It would be of great interest to find out how to avoid it.
 
Physics news on Phys.org
Nusc said:

Homework Statement



How do I copy and paste input commands in mathematica and paste them in forums or hotmail so they don't appear as they do in the post below 'Mathematica'?

This has been bothering me for sometime. It would be of great interest to find out how to avoid it.

You'd probably have better luck in a math forum, where more people use mathematica. I don't use mathematica, but are you asking how to paste mathematical text, in latex-type quality, straight into a forum like this one?

You can't post the actual latex-looking formulas straight into a forum text editor, but you can probably get mathematica to convert an expression into Latex code that you could use in a forum like this with the "["tex"]" command.

In Maple, there is a function "latex()" that takes an expression as an argument, and spits out some latex code. That would do the trick. I'm guessing Mathematica has something similar...
 
I don't quite understand what you are trying to do or the result you are getting.

Have you tried using the <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code"> <div class="bbCodeBlock-title"> <i class="fa--xf fal fa-code "><svg xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" ><use href="/data/local/icons/light.svg?v=1759409064#code"></use></svg></i> Code: </div> <div class="bbCodeBlock-content" dir="ltr"> <pre class="bbCodeCode" dir="ltr" data-xf-init="code-block" data-lang=""><code></code></pre> </div> </div> tags?
 
Last edited:

Similar threads

Back
Top