Katex notes

Katex

Katex adds math equation support to gatsby using remark-math and katex

Math Equations in Inline Mode

$a^2 + b^2 = c^2$

$a^{2} + b^{2} = c^{2}$

$\mathsf{Data = PCs} \times \mathsf{Loadings}$

$\mathbf{X}_{n,p} = \mathbf{A}_{n,k} \mathbf{B}_{k,p}$

$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$

$\mathbf{X} = \mathbf{Z} \mathbf{P^\mathsf{T}}$

a2+b2=c2a^2 + b^2 = c^2

a2+b2=c2a^{2} + b^{2} = c^{2}

Data=PCs×Loadings\mathsf{Data = PCs} \times \mathsf{Loadings}

Xn,p=An,kBk,p\mathbf{X}_{n,p} = \mathbf{A}_{n,k} \mathbf{B}_{k,p}

x=b±b24ac2ax = {-b \pm \sqrt{b^2-4ac} \over 2a}

X=ZPT\mathbf{X} = \mathbf{Z} \mathbf{P^\mathsf{T}}


Math Equations in Display Mode

$$
a^2 + b^2 = c^2
$$

$$
a^{2} + b^{2} = c^{2}
$$

$$
\mathsf{Data = PCs} \times \mathsf{Loadings}
$$

$$
\mathbf{X}_{n,p} = \mathbf{A}_{n,k} \mathbf{B}_{k,p}
$$

$$
x = {-b \pm \sqrt{b^2-4ac} \over 2a}
$$

$$
\mathbf{X} = \mathbf{Z} \mathbf{P^\mathsf{T}}
$$
a2+b2=c2a^2 + b^2 = c^2 a2+b2=c2a^{2} + b^{2} = c^{2} Data=PCs×Loadings\mathsf{Data = PCs} \times \mathsf{Loadings} Xn,p=An,kBk,p\mathbf{X}_{n,p} = \mathbf{A}_{n,k} \mathbf{B}_{k,p} x=b±b24ac2ax = {-b \pm \sqrt{b^2-4ac} \over 2a} X=ZPT\mathbf{X} = \mathbf{Z} \mathbf{P^\mathsf{T}}

© 2020 | Paul Kim