An inline formula written using
and down here we have another inline formula: .
As can be seen from these examples, you shouldn’t write inline formulae. This displayed formula,
does, however, look good; it is written using the code
$latex \cfrac{1}{1+\cfrac{1}{1+\cfrac{1}{1+\cfrac{1}{1+x}}}}$
In general you insert a formula using the code:
$latex your formula in LaTeX-code $
There is some documentation at LaTeX support.