Content
Pages
Categories
Search
Top
Bottom

### Use Latex in bbpress

• djstat
Participant

@djstat

I saw some discusses about the usage of Latex in bbpress. I guess maybe the easiest way to enable Latex in bbpress is to use Mathjax.

Put the following script code into the block of the header.php in the theme. This will load the latest version of MathJax from the distributed server, and configure it to recognize mathematics in both TeX and MathML notation. For details, refer to http://docs.mathjax.org/en/latest/start.html#mathjax-cdn and http://www.ouruniv.com/topic.php?id=4

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

The above script is not the exactly one. The shape bracket is omitted since the code won’t be displayed with it. You could copy the right one at http://docs.mathjax.org/en/latest/start.html#mathjax-cdn

• You must be logged in to reply to this topic.