Using jsMath on these Pages

Make the TeX look good! Install jsMath fonts on your machine. Click on the control panel (bottom RHS) to get them. → fonts-jsmath is a package for some debian based linux distributions.

Inline Mode

This:

An inline equation: <<Latex("2^\pi")>> is always fun. 

results in:

An inline equation: \(2^\pi\) is always fun.

Direct Method

You can write the jsMath directly: Inline math may be delimited in this way: \(2^\pi\)

Displaystyle Mode

This:

But sometimes you want to display things in displaystyle <<Latex("\int_0^\infty dx = \infty",1)>> instead.

Results in:

But sometimes you want to display things in displaystyle \[\int_0^\infty dx = \infty\] instead.

Direct Method

You can write the jsMath directly: Display math may be delimited in this way: \[2^\pi\]

Editing Tip

when using the macro method, <<Latex("...")>>: make sure you put your TeX expression in quotes!

User Experience

PhysicsWiki: JsMath (last edited 2014-06-23 16:36:15 by PeteKernan)