Math mode: Difference between revisions
From Knot Atlas
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
For example |
For example |
||
⚫ | |||
<pre> |
|||
⚫ | |||
</pre> |
|||
produces |
produces |
||
<math>\int_0^x t^2 \; \textrm{d} t = \frac{x^3}{3}</math> |
<math>\int_0^x t^2 \; \textrm{d} t = \frac{x^3}{3}</math> |
||
Line 10: | Line 8: | ||
You should also be able to use commands defined in the package amssymb (although there are problems with some symbols, most of which are fixable if you tell [[User:Scott|Scott]] about them). You can also use [[User:Drorbn|Dror]]'s dbnsymb package, like this: |
You should also be able to use commands defined in the package amssymb (although there are problems with some symbols, most of which are fixable if you tell [[User:Scott|Scott]] about them). You can also use [[User:Drorbn|Dror]]'s dbnsymb package, like this: |
||
< |
<nowiki> |
||
<math> |
<math> |
||
\langle\slashoverback\rangle = |
\langle\slashoverback\rangle = |
||
A\langle\hsmoothing\rangle + B\langle\smoothing\rangle |
A\langle\hsmoothing\rangle + B\langle\smoothing\rangle |
||
</math> |
</math> |
||
</ |
</nowiki> |
||
which renders as |
which renders as |
||
<math> |
<math> |
Revision as of 10:12, 30 August 2005
While editing the wiki, you have access to much of LaTeX's typesetting functionality. Simply enclosing LaTeX code in <math> and </math> tags should give the desired result.
For example
<math>\int_0^x t^2 \; \textrm{d} t = \frac{x^3}{3}</math>
produces
You should also be able to use commands defined in the package amssymb (although there are problems with some symbols, most of which are fixable if you tell Scott about them). You can also use Dror's dbnsymb package, like this:
<math> \langle\slashoverback\rangle = A\langle\hsmoothing\rangle + B\langle\smoothing\rangle </math> which renders as Failed to parse (unknown function "\slashoverback"): {\displaystyle \langle\slashoverback\rangle = A\langle\hsmoothing\rangle + B\langle\smoothing\rangle }