## Miscellaneous

### Re: Test jsMath

by Sam Hathaway -
Number of replies: 0

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$. [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.