LaTeX is particularly useful for handling math and formulae. LaTeX allows users to set formulae either inline (within the text ) or in display mode (on a separate line).
There are three different delimiters for Inline Mode:
This is an example of setting the equation $a+b=\gamma$ with inline mode.
Springer's LaTeX Search (beta) also let's you search over 8 million LaTeX code snippets to find the equation you need: http://latexsearch.com/