I have implemented a small script on some of my pages to help people write math equations using mathjax
for example to type fraction A/B as above...
i give users the option to insert the latex code like this.. by clicking ont he buttons on the left.
the code looks something like this...