TeX

Sep 1st, 2017

References

LaTeX

Plugins

Keep watching the file for changes and recompile

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

KaTex

  • The Normal Distribution
  • Jekyll supports kramdown parser MathJax-compatible script type=”tex/math”

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

This is a centred equation:

P(x)=1σ2πe(xμ)22σ2\displaystyle P(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma ^2}}

You can use matrices:

Tμν=(ε0000ε/30000ε/30000ε/3)\displaystyle 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}