HowToEnterMathSymbols

From WeBWorK

Jump to: navigation, search

Enter mathematics formulas using TeX/LaTeX notation between jsMath delimiters. The jsMath delimiters are <math>...</math> for inline math, and <dmath>...</dmath> for display math.

For example:

Consider the expression
<math>\int_0^\pi \frac{1}{x^2+1} \, ds</math>.
Consider the following expression:
<dmath>\int_0^\pi \frac{1}{x^2+1} \, ds</dmath>
will \int_0^\pi \frac{1}{x^2+1} \, ds in line. will display \displaystyle \int_0^\pi \frac{1}{x^2+1} \, ds in a separate line and larger type
To print the markup language as is surround it with: <nowiki>...<nowiki> to get <math>...</math> .
Personal tools