Options

Inline vs. Displayed math statements

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.

Comments

  • 1.

    @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!"
Sign In or Register to comment.