In this question: Calculating a parametrized maximum, as a function of the parameter I wanted to show the output of a Mathematica expression. So I clicked the expression and chose "Copy as -> LaTeX" and pasted it into the question between two "$$" marks. But the editor did not let me save the question. I got an error in a red square baloon:

enter image description here

I could save the post by deleting the "$$" marks, but now the code is seen as raw latex. What should I do?

EDIT: Here is the equation that I wanted to copy from Mathematica:

enter image description here

  • I think the restriction is only applied for users with reputation below a threshold.
    – user202729
    Commented Jul 17, 2018 at 6:50
  • You may want to report this to Meta Stack Exchange "Don't detect Latex as code", something like that.
    – user202729
    Commented Jul 17, 2018 at 6:51

2 Answers 2


I have edited this question of yours. While we strongly encourage to post "plain code" to show what you have tried, this is not required if you need to present specific outputs. For your case, it is perfectly fine to upload images because everyone can repeat what you did on their machine.

Regarding the uploading of cells and output as an image, I strongly advise you to look at our SETools Palette that can easily be installed and lets you upload selected cells directly as an image. You only have to press Ctrl+V in your post and you are done.

  • Thank you very much for the edit. Commented Jun 21, 2018 at 6:33

You really shouldn't use MathJaX to display code in a question posted on Mathematica.SE. You should enter code with markdown. Click on the question mark at the far right of the editor tool bar to get markdown help on secondary button bar that pops-up below the tool bar. The advanced help button the far right of help bar will give even more good advice.


This update addresses an issue raised in a comment to this answer.

You don't need type code into an editor pane by hand. You can copy from a Mathematica notebook and paste it into the editor. This meta-question will tell you how.

  • I edited my question and added a picture of the equation I wanted to copy from Mathematica. Is there a way to copy this equation without using LaTeX? Should I just type the entire equation in markdown? It is a lot of text. Commented Jun 21, 2018 at 5:55
  • @ErelSegal-Halevi. I have updated my answer to address the issue you raise.
    – m_goldberg
    Commented Jun 21, 2018 at 18:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .