The Mathfilter module creates a filter which allows a user to enter equations and simple function graphs into their posts. For documentation on the equations, see the documentation on the CGI that Mathfilter uses, at John Forkosh's information page.
Unlike other solutions for entering equations online, this does not require Latex to be installed on your server, and is much easier to configure overall as a result. It does require a Mimetex (or Mathtex) CGI to be installed on a server to which your website server has access. It is reasonably straight forward to install Mimetex.cgi on your own server, and failing that, there are some publicly available Mimetex servers. The syntax of the equations is very similar to latex, and complete documentation on it is available here.
The filter uses a BBCode style syntax where equations are entered between [tex] and [/tex] tags, and graphs are either entered in [graph]function[/graph] tags or [graph xmin="-10" xmax="10" ymin="-10" ymax="10"]function[/graph] tags. The second of the two graphs tags allows the editor of the post to change the domain and range of the function being displayed.
Some examples of use include:
|[graph xmin="-7" xmax="11" ymin="-10" ymax="20"]x^2+4x[/graph]|
Some future goals of this project include:
1. Rendering the graphs as images, and caching the results. This will dramatically improve the overall performance of this module.
2. Allowing 3D function graphs to be entered.
3. A random number filter (for use with quiz style question creation).