TeX
September 1, 2017

References

LaTeX

Plugins

Keep watching the file for changes and recompile

1
latexmk -pvc -pdf -view=none document.tex

KaTex

  • The Normal Distribution
1
<div class="equation" data-expr="\displaystyle P(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma ^2}}"></div>
  • Jekyll supports kramdown parser MathJax-compatible script type=“tex/math”

This is an inline equation: $ P(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma ^2}} $

This is a centred equation:

$$P(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma ^2}}$$

You can use matrices:

$$ T^{\mu\nu}=\begin{pmatrix} \varepsilon&0&0&0\ 0&\varepsilon/3&0&0\ 0&0&\varepsilon/3&0\ 0&0&0&\varepsilon/3 \end{pmatrix} $$