diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-10-03 02:16:25 -0500 |
---|---|---|
committer | Karl Hallsby <karl@hallsby.com> | 2021-10-03 02:16:55 -0500 |
commit | b988a125d9c4d408a0bc88318cf005691e565fd7 (patch) | |
tree | daf46f5418a41d4c0ce2d3f77cb84f14a1130e25 /_posts/2015-10-20-math.md | |
parent | e2c06d2681e18946ab6c3e3e6075aed92a4d13be (diff) |
Update rest of site to work with new al-folio theme
Diffstat (limited to '_posts/2015-10-20-math.md')
-rw-r--r-- | _posts/2015-10-20-math.md | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/_posts/2015-10-20-math.md b/_posts/2015-10-20-math.md deleted file mode 100644 index 803b28a..0000000 --- a/_posts/2015-10-20-math.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -layout: post -title: a post with math -date: 2015-10-20 11:12:00-0400 -description: an example of a blog post with some math ---- -This theme supports rendering beautiful math in inline and display modes using [MathJax 3](https://www.mathjax.org/){:target="\_blank"} engine. You just need to surround your math expression with `$$`, like `$$ E = mc^2 $$`. If you leave it inside a paragraph, it will produce an inline expression, just like $$ E = mc^2 $$. - -To use display mode, again surround your expression with `$$` and place it as a separate paragraph. Here is an example: - -$$ -\sum_{k=1}^\infty |\langle x, e_k \rangle|^2 \leq \|x\|^2 -$$ - -You can also use `\begin{equation}...\end{equation}` instead of `$$` for display mode math. -MathJax will automatically number equations: - -\begin{equation} -\label{eq:caushy-shwarz} -\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) -\end{equation} - -and by adding `\label{...}` inside the equation environment, we can now refer to the equation using `\eqref`. - -Note that MathJax 3 is [a major re-write of MathJax](https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html){:target="\_blank"} that brought a significant improvement to the loading and rendering speed, which is now [on par with KaTeX](http://www.intmath.com/cg5/katex-mathjax-comparison.php){:target="\_blank"}. |