pages/_posts/2015-10-20-math.md
2020-05-17 05:52:42 -04:00

935 B

layout title date description
post a post with math 2015-10-20 11:12:00-0400 an example of a blog post with some math

This theme supports rendering beautiful math in inline and display modes using KaTeX 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:


\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)

Note that KaTeX is work in progress, so it does not support the full range of math expressions as, say, MathJax. Yet, it is blazing fast.