HowToEnterMathSymbols: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
For example: | For example: | ||
<table border="1" | <table border="1"> | ||
<tr class="tex2math_ignore"> | <tr class="tex2math_ignore"> | ||
<td valign="top"><code>Consider the expression | <td valign="top"><code>Consider the expression | ||
Line 18: | Line 18: | ||
<td valign="top">will display <dmath>\int_0^\pi \frac{1}{x^2+1} \, ds</dmath> in a separate line and larger type | <td valign="top">will display <dmath>\int_0^\pi \frac{1}{x^2+1} \, ds</dmath> in a separate line and larger type | ||
</td> | </td> | ||
</tr | </tr> | ||
</table> | </table> | ||
<div class="tex2math_ignore"> To print the markup language as is surround it with: <nowiki><math>...</math><nowiki> | <div class="tex2math_ignore"> To print the markup language as is surround it with: <nowiki><math>...</math><nowiki> | ||
to get <nowiki> <math>...</math> </nowiki>. | to get <nowiki> <math>...</math> </nowiki>. | ||
Revision as of 14:47, 18 June 2008
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
|
Consider the following expression:
|
will [math]\displaystyle{ \int_0^\pi \frac{1}{x^2+1} \, ds }[/math] in line. | will display <dmath>\int_0^\pi \frac{1}{x^2+1} \, ds</dmath> in a separate line and larger type |
To print the markup language as is surround it with: <nowiki>[math]\displaystyle{ ... }[/math]<nowiki>
to get <math>...</math> .