19

The title says it all. I haven't been able to find the answer yet, so any help would be appreciated.

Invariance
  • 293
  • 1
  • 2
  • 4

1 Answers1

26

Math mode has two main modes: display mode and inline mode. Inline mode is for math that is included within a line or paragraph of text, and display mode is for math that is set apart from the main text.

Inline math

The TeX delimiters for inline math are $ and $.

The LaTeX delimiters for inline math are \( and \).

Although it's possible to use $...$ for inline math as well in LaTeX. See the following question for more discussion.

Displayed math

The TeX delimiters for displayed math are $$ and $$.

The LaTeX delimiters for displayed math are \[ and \].

Unlike the delimiters for inline math, you should not use the TeX form of the delimiters in LaTeX. See the following question for discussion.

Alan Munn
  • 218,180
  • 4
    Notably, inline $ ... $ syntax is documented in LaTeX: A Document Preparation System by Lamport, whilst $$ ... $$ syntax is not. – Joseph Wright Jan 17 '18 at 19:01