I've noticed that different users have written LaTex code using either commands inside two $ signs or simply connected a single term to a & symbol. How many different ways are there of coding math symbols on stack exchange?
EDIT: I didn't mean for this to repeat what was said in the tutorial. I specifically asked it because I couldn't find this info in the tutorial. I meant to say "how many ways are there to write the same thing?" For instance, I noticed someone did a pi symbol (or something like it) using &pi or some other code. Is this another markup language? How come there is no reference to it in the tutorial? How many different ways are there to write each expression other than with standard Mathjax?
\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}
(and everything else here works too). I don't know of any complete listing though. $\endgroup$*a≥b*
vs. $a\geq b$ obtained by$a\geq b$
? (Interestingly, the first one renders in a question/answer, but not in a comment. It was supposed to be a≥b.) $\endgroup$<sub></sub>
: <sub>example</sub>. In your case HTML entities are forbidden in comments.×Comments may only be edited for 5 minutes×Comments may only be edited for 5 minutes×Comments may only be edited for 5 minutes Cf. official help page. $\endgroup$π
is an HTML entity. They are allowed in questions and answers but not comments, and they're not specifically there to typeset math, for example–
would give an en-dash '–'. It's more of a crutch than anything, because you can simply type in the corresponding unicode character and achieve the same result. As Martin said above it's preferable to use mathjax to produce math. $\endgroup$$\pi$
and$\pi{}$
and$\pi{}{}$
and$\pi{}{}{}$
and, well you get the idea, all have the same output: $\pi$. $\endgroup$