Copy and paste input commands in mathematica

  • Context: Mathematica 
  • Thread starter Thread starter Nusc
  • Start date Start date
  • Tags Tags
    Input Mathematica
Click For Summary
SUMMARY

This discussion focuses on the challenges of copying and pasting input commands from Mathematica into forums or email platforms without losing formatting. Users suggest utilizing Mathematica's capabilities to convert expressions into LaTeX code, which can then be pasted into forums using the appropriate tags for proper rendering. The conversation highlights the need for a clear understanding of formatting tools available in Mathematica and the limitations of text editors in forums.

PREREQUISITES
  • Familiarity with Mathematica's input commands and output formatting
  • Basic understanding of LaTeX typesetting
  • Knowledge of forum text editors and their formatting capabilities
  • Experience with using tags for code formatting in online discussions
NEXT STEPS
  • Research how to use Mathematica's LaTeX export functionality
  • Learn about the specific tags used in forums for formatting mathematical expressions
  • Explore alternatives to Mathematica for LaTeX conversion, such as Maple's latex() function
  • Investigate best practices for sharing mathematical content in online communities
USEFUL FOR

Mathematica users, educators, students, and anyone involved in sharing mathematical content online who seeks to improve the presentation of their work in forums and email communications.

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 [tex]<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=1776459805#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>[/tex] tags?
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
1
Views
2K