TeXt - MathJax

 
118 words | About 1 min read

When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are

\[x_1 = {-b + \sqrt{b^2-4ac} \over 2a}\] \[x_2 = {-b - \sqrt{b^2-4ac} \over 2a} \notag\]

Set mathjax: true in _config.yml or in the post’s front matter to enable MathJax.

After enabling MathJax, set mathjax_autoNumber: true to number equations automatically. Use \notag or \nonumber for an equation that should not be numbered.

TeXt Theme documentation: MathJax

Markdown:

When $$a \ne 0$$, there are two solutions to $$ax^2 + bx + c = 0$$ and they are
$$x_1 = {-b + \sqrt{b^2-4ac} \over 2a}$$
$$x_2 = {-b - \sqrt{b^2-4ac} \over 2a} \notag$$

Front matter:

---
...
mathjax: true
mathjax_autoNumber: true
---