Enable MathJax extension in forums

Enabling Math
The Math plugin can be enabled from its settings, accessed from your admin/plugins page:

image

Features
Once enabled, you can render inline math by wrapping with a single $ like so: E=mc^2.

You can render blocks of maths by wrapping with $$

\sqrt{(-1)} \; 2^3 \; \sum \; \pi
1 Like

Done!

Perfect!

Note that existing posts are not modifed, but edit and save will reinterpret the post for equations.

Test:

e = 2 + \cfrac{1}{1 + \cfrac{1}{2 + \cfrac{1}{1 + \cfrac{1}{1 + \cfrac{1}{4 + \cfrac{1}{1 + \cfrac{1}{1 + \cfrac{1}{6 + \cdots}}}}}}}}

:heart_eyes:

e = \lim_{n \to \infty} \left( 1 + \frac{1}{n} \right)^n = \sum_{k=0}^{\infty} \frac{1}{k!}

love it! can not stop playing… :smiley:

1 Like

Nice !!!

Adding .asMathJax() to my in-work Matrix class allows me to easily output a Cardinal Spline basis matrix:

\begin{bmatrix}0&1&0&0\\-0.25&0&0.25&0\\0.5&-2.75&2.5&-0.25\\-0.25&1.75&-1.75&0.25\end{bmatrix}

\begin{bmatrix}0&1&0&0\\-0.25&0&0.25&0\\0.5&-2.75&2.5&-0.25\\-0.25&1.75&-1.75&0.25\end{bmatrix}

2 Likes