How to display mathematics on your websites

Options for including mathematics on your website include:

The Nift documentation covers how to display $\LaTeX$ on your websites using MathJax. Repeating the information on this page, using MathJax on your site is as simple as adding the following code to the head of each page:

		    				<!-- uses MathJax CDC for LaTeX support
		    					 see for more info -->
		    				<script type="text/x-mathjax-config">
		    						extensions: ["tex2jax.js"],
		    						jax: ["input/TeX", "output/HTML-CSS"],
		    							inlineMath: [['$','$'], ['\\(','\\)']],
		    							displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
		    							processEscapes: true
		    						"HTML-CSS": { availableFonts: ["MathJax TeX"] }
		    				<script type="text/javascript" 

If you want to insert a dollar sign on a page, as opposed to opening/closing an inline equation, use \\\$ and MathJax will escape the character.

Note: if you are opening a page locally and are not connected to the internet then MathJax will not load, you will simply see the unprocessed LaTeX equations.