LaTeXWe have added support for LaTeX formatting (backslash \ has to be escaped, so in your LaTeX code you have to replace \ with \\). There is no live preview. Users of NoScript and similar javascript blockers may need to whitelist mathjax.org It works like this:
Some examples:
$$P(AB)= \frac{P(BA)*P(A)}{P(B)}$$
$$\omega_0=\frac{1}{M}\sum{y_i}  \frac{\omega_1}{M}\sum{x_i}$$
$$\omega_1=\frac{M\sum{{x_i}{y_i}}\sum{x_i}\sum{y_i}}{M\sum{x_i^2}(\sum{x_i})^2}$$ Available symbols and codes are here: artofproblemsolving.com Sandbox to test and see how your code works: MathJax in Action asked 25 Dec '11, 19:26 Gundega ♦♦ This is awesome.
(25 Dec '11, 20:25)
gregmchapman ♦
Very useful!
Users of NoScript and similar javascript blockers may need to whitelist mathjax.org.
(25 Dec '11, 22:49)
jojo
Note that this apparently does not work in comments:
$$ P(AB)= \frac{P(BA)*P(A)}{P(B)} $$
I had been getting MathJax configuration messages recently, but don't seem to be today. @Gundega, was something fixed?
(25 Jan '12, 13:28)
rseiter ♦
@rseiter As you see, it does work in comments, it just doesn't work for the person who posted comment without refreshing the page (because commenting uses Ajax, and the MathJax works only onLoad, its not Live event).
And no, I havent done anything with MathJax, but the javascript itself is included from the author website, so maybe they released new version ?
(25 Jan '12, 14:17)
Gundega ♦♦

$$ P(Happy\ \ Latex) = \frac{1}{\sqrt{\pi}} \int_{\infty}^{\infty} e^{x^2} dx $$ answered 25 Dec '11, 21:24 sfjjhs 
Hurray. Testing: $$ P(AB) = \dfrac{P(BA)P(A)}{P(B)}$$ it works! answered 25 Dec '11, 20:21 Anne Paulson 
Testing... $$ P(AB) = \frac{P(BA)P(A)}{P(B)} $$ $$ \zeta = \left[\left\{\begin{array}{lccr} \alpha & \beta & \gamma & \kappa \\ a & b & c & d \\ 1 & 2 & 3 & 4 \end{array}\right\}\right] $$ answered 25 Dec '11, 22:37 Wasif Hossain works great!
(25 Dec '11, 22:50)
Wasif Hossain

this is a test $$ \bar X $$ answered 26 Feb '12, 22:09 jimgb ♦ Nooo, dont delete it, write something nice!
(26 Feb '12, 22:22)
Gundega ♦♦
1
Can I use it in comments, too?
$$ \theta = {\underbrace{\left(X^TX + \lambda\begin{bmatrix} 0 &&&& \\ & 1 &&& \\ && 1 &&\\ &&& \ddots & \\ &&&& 1 \end{bmatrix}\right)}_{\mathrm{invertable}}}^{1}X^Ty $$
(28 Feb '12, 09:40)
rhasarub
It works in comments (despite what I said above ;). As @Gundega noted, the person who posts the comment does not see the formatted version until they refresh.
(28 Feb '12, 11:57)
rseiter ♦
Oh, blind me didn't read the comments, it seems ;)
(28 Feb '12, 14:51)
rhasarub
And what about using it $ \sqrt{\mathrm{inline}} $? Doesn't work, what a pity.
(08 Mar '12, 15:24)
rhasarub
That is odd given that the MathJax sandbox link @Gundega posted supports that syntax. Should this be considered an Aiqus bug?
(08 Mar '12, 15:41)
rseiter ♦
1
@rseiter "it's not a bug, it's a feature" cough and not particularly Aiqus, but OSQA in general. Same reason you need to double escape \, OSQA engine does some fancy stuff with special characters.
(08 Mar '12, 16:00)
Gundega ♦♦
1
What about $% E = m{c^2} $% ?
@Gundega, apologies if you already know all about this, but this post looked like it might be helpful (esp. the idea about changing the default inline character to $%
http://meta.osqa.net/questions/55/canosqaprovidelatexsupport
(08 Mar '12, 17:23)
rseiter ♦
