# Using LaTeX in Wordpress

LaTeX is good for typing math equation or some specific symbols in the post. The Basic idea is:

$latex YourLaTexCode$

For example,

$latex E(x)=\frac{\sum_{i=1}^n(x_i-\bar{x})}{n}&s=3$

$E(x)=\frac{\sum_{i=1}^n(x_i-\bar{x})}{n}$

parameter s assigns the font size from 4 to -4 (4 is the biggest)

## Reference:

The document about writing LaTeX in WordPress