#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Options

# Inline vs. Displayed math statements

edited May 2018

For inline math, enclose it in \$$...\$$.

For displayed formulas, use $...$.

These render differently.

Inline-mode looks like $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$ that.

Display-mode looks like $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$ that.

@JohnBaez said "Good users of LaTeX use something like  and  rather than  and . For global search and replace, it's very useful to be able to easily tell what's a left parenthesis and what's a right parenthesis!"
Comment Source:@JohnBaez said "Good users of LaTeX use something like  and  rather than  and . For global search and replace, it's very useful to be able to easily tell what's a left parenthesis and what's a right parenthesis!"