Tanda kurung sudut, floor, ceiling, norm, dan pasangan pembatas.
LaTeX brackets come in two kinds: the ones you type directly, like (, ), [ and ], and the ones that need a command, like \{ and \} for curly braces, \langle and \rangle for angle brackets, \lfloor and \rfloor for floor, and \lVert and \rVert for a norm. Put \left and \right in front of any pair and LaTeX sizes the brackets to fit what is inside, such as a fraction. Double brackets need the stmaryrd package. The table lists the brackets and delimiters people use most, with the package each one needs; the full list follows below.
| Symbol | Command | Use | Package | Copy |
|---|---|---|---|---|
\left( \frac{a}{b} \right) | Parentheses that grow to fit the content | built in | ||
\{ x \} | Curly braces (escaped) | built in | ||
\langle x \rangle | Angle brackets, inner product | built in | ||
\lfloor x \rfloor | Floor | built in | ||
\lceil x \rceil | Ceiling | built in | ||
\lvert x \rvert | Absolute value | amsmath | ||
\lVert x \rVert | Norm | amsmath | ||
\llbracket x \rrbracket | Double square brackets | stmaryrd | ||
\bigl( x \bigr) | Manual sizes: \big, \Big, \bigg, \Bigg | built in | ||
[a, b) | Half-open interval | built in | ||
\underbrace{a + b}_{n} | Brace under an expression (\overbrace above) | built in |
For absolute values and norms you use often, define paired delimiters once in the preamble with mathtools. Then \abs{x} keeps a fixed size, \abs*{\frac{a}{b}} grows with the content and \abs[\big]{x} picks a size by hand:
\usepackage{mathtools}
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}\langle\rangle\langle x \rangle\lceil\rceil\lceil x \rceil\lfloor\rfloor\lfloor x \rfloor\| x \|\llbracket\rrbracket\llbracket x \rrbracket\left( x \right)\left[ x \right]\left\{ x \right\}\left| x \right|\Big( x \Big)\Bigg( x \Bigg)\left( x \right.\left. x \right)\left[ x \right)