61

On some other SE sites, code in between dollar signs gets rendered as mathematics (using MathJaX, I believe). This doesn't seem to work here? Why not? And how do I get round it?

2
  • 2
    This question covers the approach as it is now. If you wish to discuss the availability/utility (or otherwise) of MathJax on the TeX - LaTeX site, please open a separate meta thread.
    – Joseph Wright Mod
    Commented Jun 19, 2017 at 15:48
  • 2
    Further information: the original feature request that led to MathJax being deactivated on this site.
    – gparyani
    Commented Sep 9, 2020 at 6:38

1 Answer 1

53

On this site, we want to see the actual code far more often than we want to see the rendered output, so MathJaX is not enabled for this site. If you want to show the result of some input, you need to create an image of the output and upload it. One of the simplest methods of getting an image from your code is to use the standalone package (see Compile a LaTeX document into a PNG image that's as short as possible for more details). To upload it, click on the "add image" button at the top of the text box (the box symbol next to the one with the 1s and 0s) and, if you have at least 10 reputation points, you will be able to upload the image and have it embedded in your question/answer.

2
  • 5
    A probably even simpler method to get an image of the output is to make a screenshot.
    – gernot
    Commented Dec 18, 2021 at 21:46
  • i agree and I totally get the point. Simply indicate that sometimes it could be interesting to have that ability, for example when you want to indicate in the text that you are referring to a specific result label. I've missed that ability on a few occasions. Commented Nov 10, 2022 at 12:37

You must log in to answer this question.

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