Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
857 views
in Q2A Core by

I'd like to be able to include MathJax for LaTeX formatting in all questions and answers on my site. According to the MathJax site:

 

To use MathJax from our server, you need to do two things:

  1. Link MathJax into the web pages that are to include mathematics.
  2. Put mathematics into your web pages so that MathJax can display it.

You accomplish the first step by putting

<script type="text/javascript"
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

into the <head> block of your document. 

 

Which document should I paste this code into?

1 Answer

+1 vote
by
You don't need to paste this into a "document".

Go to your admin -> layout -> (check) Custom HTML in <HEAD> section of every page.

And paste it there...
by
Just found this right before you replied. Thanks for the help!
by
You are welcome! :D
asked May 29, 2011 in Plugins by anonymous
recategorized Nov 13, 2011 by
LaTeX error with mathjax - is it a database problem?
...