This product is designed to allow you to easily add LaTeX powered by MathJax to your forum. You are given control over where it is active, whether it be sitewide or in certain forums only, with the option for other scripts as well.

By default, the basic script definitions for enabling MathJax are defined, but you may modify these scripts in the product settings. No template edits are needed.

Most sites using MathJax will place their scripts in the header, and then any LaTeX is rendered when the pages load. This works well if you want it everywhere and if the page will not be modified by the user, for example by AJAX processes such as vBulletin's Quick Reply/Edit. Under such a setup, the user will then have to refresh the page in order for LaTeX added this way to parse. This product injects the javascript necessary for LaTeX added this way to be parsed after the fact.



To Install:

Download and extract the attached .zip file.

In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.

Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.

Click "Import"

You MUST set your settings to enable the mod. Each setting has an explanation of its use.



Original Source: LaTeX By MathJax