Delimiters
- There’s plenty of delimiters or grouping symbols that you can use:
- For a full list, see Delimiters.
| Delimiter Name | Left Variant | Right Variant | Command (Left) | Command (Right) |
|---|---|---|---|---|
| Parentheses | ( or \lparen | ) or \rparen | ||
| Square Brackets | [ or \lbrack | ] or \rbrack | ||
| Curly Braces | \{ or \lbrace | \} or \rbrace | ||
| Angled Brackets | \langle | \rangle | ||
| Ceiling | \lceil | \rceil | ||
| Floor | lfloor | \rfloor | ||
| Absolute Value* | \lvert | \rvert | ||
| Magnitude* | \lVert | \rVert |
- As for absolute value and magnitude, they can simply be written with the
\vertand\Vertcommands respectively.
Grouping Large Expressions
-
Often, we want to put larger expressions like fractions or radicals inside a delimiter, like a parenthesis.
- While the output may be valid to display something, it often doesn’t look good.
-
(\sqrt{ \frac{m^2}{pq^3} })^4
-
To enclose any large expression inside a parenthesis, we may use the
\leftx...\rightxcommand.- We first need to enclose our expression between the
\leftx...\rightxcommand. - Then, we need to specify the delimiter of our choice by replacing the
xbeside the\leftand the\rightcommand.
- We first need to enclose our expression between the
-
\left( \sqrt{ \frac{m^2}{pq^3} }\right)^4
-
This would let us auto-resize our delimiter of our choice based on the size of our expression.
- Since we are free to choose the delimiter for the left and right using
\leftx...\rightx, we can customize it for displaying interval notation as well.
- Since we are free to choose the delimiter for the left and right using
-
\left( -\infty, -\frac{\sqrt{ 2 }}{2} \right] \cap \left[ \frac{\sqrt{ 2 }}{2} , \infty \right)
- We can also nest multiple
\left...\rightexpressions inside, but make sure that for each instance of\left...\right, they must come in pairs, with delimiters in them.