The title says it all. I haven't been able to find the answer yet, so any help would be appreciated.
Asked
Active
Viewed 3.6k times
19
1 Answers
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
-
4Notably, inline
$...$syntax is documented in LaTeX: A Document Preparation System by Lamport, whilst$$...$$syntax is not. – Joseph Wright Jan 17 '18 at 19:01
$$vs\[see Why is \[ ... \] preferable to $$ ... $$?. On$vs\(see Are ( and ) preferable to dollar signs for math mode?. – Alan Munn Jan 17 '18 at 17:42\(and\[is inline vs. display math. The corresponding$versions are TeX (not LaTeX) versions of these. – Alan Munn Jan 17 '18 at 18:01