## Site news -- pre 2010.

### testing jsMath

by Michael Gage -
Number of replies: 2

$\int x^2 dx$
$\int x^2 dx$

$$\int x^2 dx$$

$$\int x^2 dx$$

$\int x^2 dx$

### Re: testing jsMath

by Davide Cervone -
In-line: $\sum_{n=0}^\infty a_n$.

Display:
[dmath]\sum_{n=0}^\infty a_n[/dmath]

### Re: testing jsMath

by Michael Gage -
Thank you Davide. I had completely forgotten that we had changed the jsMath delimiters to $...$
For the record. Here is the final post of the discussion at:
http://webwork.maa.org/moodle/mod/forum/discuss.php?d=1414

As of last week, the jsMath delimiters are $...$ for inline math, and [dmath]...[/dmath] for display math. For example:

 Consider the expression $\int_0^\pi \frac{1}{x^2+1} \, ds$. Consider the following expression: [dmath]\int_0^\pi \frac{1}{x^2+1} \, ds[/dmath] Consider the expression $\int_0^\pi \frac{1}{x^2+1} \, ds$. Consider the expression: [dmath]\int_0^\pi \frac{1}{x^2+1} \, ds[/dmath]

To cause jsMath to ignore a $...$ or [dmath]...[/dmath] section, enclose the section in an HTML element with class tex2math_ignore. This can be a <div> or a <span> or whatever you like. jsMath always ignores delimiters that occur within <pre> tags.

(Edited by Michael Gage - original submission Monday, 23 April 2007, 11:31 AM)

(Edited by Davide Cervone - original submission Friday, 29 June 2007, 11:19 AM)