Math mode: Difference between revisions

From Knot Atlas
Jump to navigationJump to search
(zellali)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
rolracdron
While editing the wiki, you have access to much of LaTeX's typesetting functionality. Simply enclosing LaTeX code in <nowiki><math></nowiki> and <nowiki></math></nowiki> tags should give the desired result.
While editing the wiki, you have access to much of LaTeX's typesetting functionality. Simply enclosing LaTeX code in <nowiki><math></nowiki> and <nowiki></math></nowiki> tags should give the desired result.



Latest revision as of 16:01, 27 May 2009

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 (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle   \langle\slashoverback\rangle =      A\langle\hsmoothing\rangle + B\langle\smoothing\rangle  }