Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
playground [2017/02/09 21:38] – [Tip, info, and important things to callout] James Colvinplayground [2017/09/25 20:43] – [Outliner Plugin] James Colvin
Line 133: Line 133:
 <-- <--
 \\  \\ 
 +
 +===== MathJAX plugin
 When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are
 $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
  
 +More math equation options:
 +
 +To display math on its own line, use double dollar signs:
 +$$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$
 +or escaped square brackets:
 +
 +\[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \]
 +A wide range of math environments will work as well:
 +
 +\begin{align*}
 +e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\
 +    & = \sum_{n\geq 0} \frac{x^n}{n!}
 +\end{align*}
 +
 +Note that the math environments should not be inside the dollar sign delimiters; the environments should stand on their own with just the \begin and \end statements in order to be parsed correctly. See [[https://www.dokuwiki.org/plugin:mathjax|here]] for what "math environments" means.
 ===== Tip, info, and important things to callout ===== ===== Tip, info, and important things to callout =====
 <WRAP square important 650px>  <WRAP square important 650px>