This question already has an answer here:

According to the tutorials, you're supposed to use $ to indicate LaTeX math, but the syntax is never mentioned anywhere.

Writing

$$
...math...
$$

doesn't do anything, and neither does writing $\frac{1}{2}$. So how do you write math using LaTeX?

Note:
I do think "The MathJax help link should point to a more specific guide", but that's not what I am asking here, I'm asking wether the format above is correct, and if not, what have I done wrong, because writing LaTeX on Mathematics Stack Exchange didn't work for me.

EDIT: After a couple of days LaTeX did eventually work for me, apparently, for some reason, my browser refused to show code at first. If possible, please do close this post.

New contributor
Nils Phillip Talgö is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

marked as duplicate by gnat, Robert Longson, Glorfindel, doppelgreener, Ward Nov 9 at 14:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Which site are you trying to write math on? Are you sure it's one of the sites with the feature enabled? – Sonic the Anonymous Hedgehog Nov 8 at 19:34
  • Im trying to write math on the mathematics site of StackExchange. Im pretty sure it is enabled there.. – Nils Phillip Talgö Nov 8 at 19:35
  • What do you mean by "indice LaTeX math"? – Peter Mortensen Nov 8 at 19:51
  • Yeah, thats the website i looked at, they never tell the direct syntax, only that you have to use $ or $$, but it still wont work for me. @PeterMortensen – Nils Phillip Talgö Nov 8 at 20:01
  • Mathjax only works on certain sites. Meta Stack Exchange isn't one of them. Unfortunately I don't think there are any sandboxes that a new user can use to experiment (Math's Formatting Sandbox is on its meta and thus requires 5 rep). Does MathJax work at all for you (e.g. in existing posts on the Math site)? – Laurel Nov 8 at 20:36
  • @Laurel MathOverflow Meta only requires 1 rep for meta participation; maybe one can set up a sandbox there? – Sonic the Anonymous Hedgehog Nov 9 at 4:16
  • 1
    @Sonic They already have one here. – Laurel Nov 9 at 5:32
up vote 2 down vote accepted

First, not all sites support MathJax, so it won't work here on Meta Stack Exchange.

Depending on your Internet connection, rendering MathJax may take a long time, especially in the post preview, but also sometimes on the main pages. There's also a chance that your browser or provider is blocking the JavaScript needed to render the math (but then it shouldn't work for other users' posts either).

There's no privilege involved for using MathJax (unlike for e.g. posting images on some sites). If you're decent at LaTeX and the preview doesn't work well enough, just submit your post; it might load faster and you can edit your post if the result is wrong. Also, other users on the site will probably help correct the formatting if needed.

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