jsMath is a method of including mathematics in web pages. Once it is installed on the server, LAMS authors can use it to display mathematical symbols and equations in their Noticeboards, Q&As, or any of the core tools. LAMS learners will not need to do anything special to be able to see your symbols/equations.
You have the option of including jsMath automatically when you install using the Windows installer. Simply check the box and you're done.
We've made a web archive of jsMath that you can install separately in your LAMS server. Download it here. Copy it to your deploy folder - on Windows, C:\lams\jboss-4.0.2\server\default\deploy; on Unix, /path/to/jboss-4.0.2/server/default/deploy.
See this page for instructions on downloading and installing the latest version of jsMath.
Quick Guide to Using jsMath in your HTML (for LAMS Authors)
Click images for better view.
- Click 'Source' to edit your instruction/s in HTML code
- Put this line at the top:
- Type in your jsMath code (e.g. http://www.math.union.edu/~dpvc/jsMath/authors/basics.html#math)
- Put this line at the bottom:
- You can then click the 'Preview' button to see how it looks as rendered HTML. You can also save your editing and do an actual 'LAMS Preview' to see how it looks to learners:
In the last screenshot, you can see a warning message, 'No jsMath TeX fonts found – using image fonts instead'. This is safe, and users can simply remove the message by clicking 'Hide this Message'. See the jsMath website (http://www.math.union.edu/~dpvc/jsMath/authors/warnings.html) for how to remove/edit this message, and the issues involved.