Difference between revisions of "HowToEnterMathSymbols"
Jump to navigation
Jump to search
(Redirected page to Help:Entering mathematics) |
|||
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | Enter mathematics formulas using TeX/LaTeX notation between jsMath delimiters. |
||
+ | #REDIRECT[[Help:Entering mathematics]] |
||
− | The jsMath delimiters are <code class="tex2math_ignore"><nowiki><math>...</math></nowiki></code> for inline math, and <code class="tex2math_ignore"><nowiki><dmath>...</dmath></nowiki></code> for display math. |
||
− | |||
− | For example: |
||
− | <p></p> |
||
− | <table border="1"><tbody> |
||
− | <tr class="tex2math_ignore"> |
||
− | <td valign="top"><code>Consider the expression |
||
− | <nowiki><math>\int_0^\pi \frac{1}{x^2+1} \, ds</math></nowiki>.</code> |
||
− | </td> |
||
− | <td valign="top"><code>Consider the following expression: |
||
− | <nowiki><dmath>\int_0^\pi \frac{1}{x^2+1} \, ds</dmath></nowiki></code> |
||
− | </td> |
||
− | </tr> |
||
− | <tr> |
||
− | <td valign="top">will <math>\int_0^\pi \frac{1}{x^2+1} \, ds</math> in line. |
||
− | </td> |
||
− | <td valign="top">will display <dmath>\int_0^\pi \frac{1}{x^2+1} \, ds</dmath> in a separate line and larger type |
||
− | </td> |
||
− | </tr> </tbody> |
||
− | </table> |
||
− | <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 cause jsMath to ignore a <nowiki><code class="tex2math_ignore"><math>...</math></code></nowiki> or <code class="tex2math_ignore"><dmath>...</dmath></code> section, enclose the section in an HTML element with class <code>tex2math_ignore</code>. This can be a <div> or a <span> or whatever you like. jsMath always ignores delimiters that occur within <pre> tags.</p> |
Latest revision as of 13:34, 24 July 2012
Redirect to: