Skip to content

TeX

Writing math with LaTeX and KaTeX, plus live recompilation while you edit.

1 min read

References

LaTeX

Plugins

Keep watching the file for changes and recompile

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

KaTex

  • The Normal Distribution
<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)=1σ2πe−(x−μ)22σ2P(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σ2P(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma ^2}}

You can use matrices:

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

Related articles

25 min readTürkçe

Solidity

Solidity ve Ethereum akıllı sözleşmeleri: değişken türleri, fonksiyonlar ve temel kavramlar.

  • Miscellaneous
23 min read

ASCII Table

ASCII reference table: control characters, printable characters and extended codes 0–255.

  • Miscellaneous
4 min read

GIS

GIS math: degrees-minutes-seconds, point-in-circle tests, distances and geographic midpoints in Java.

  • Miscellaneous

Type to search the whole site.