LaTeX Brackets and Parentheses: (), [], \{\}, \left, and \right
Use parentheses, square brackets, braces, angle brackets, and automatic sizing in LaTeX. Includes \left and \right examples you can copy.
Use ( ) for parentheses, [ ] for square brackets, \{ \} for braces, and \left ... \right when the delimiter should size itself to the expression. This guide shows the exact syntax for each bracket type, plus fixes for unbalanced delimiters and multi-line equations.
Quick start: LaTeX provides various bracket types and automatic sizing with \left and \right. For basic parentheses use (), for square brackets [], and for curly braces \{\}.Prerequisites: Basic LaTeX math mode knowledge. See Mathematical Expressions for math mode basics.
\documentclass{article}\usepackage{amsmath}\begin{document}% Parentheses$(a + b)$% Square brackets $[x, y]$% Curly braces (must be escaped)$\{z : z > 0\}$% Angle brackets$\langle u, v \rangle$% Absolute value$|x - y|$% Norm$\|v\|$% Floor and ceiling$\lfloor x \rfloor$ and $\lceil x \rceil$\end{document}
Rendered output
Parentheses:(a+b)Square brackets:[x,y]Curly braces:{z:z>0}Angle brackets:⟨u,v⟩Absolute value:∣x−y∣Norm:∥v∥Floor and ceiling:⌊x⌋ and ⌈x⌉
LaTeX can automatically size delimiters to match their content using \left and \right:
Code
Rendered output
\documentclass{article}\usepackage{amsmath}\begin{document}% Without automatic sizing$(\frac{1}{2})$% With automatic sizing$\left(\frac{1}{2}\right)$% Works with any delimiter type$\left[\frac{x^2}{y}\right]$$\left\{\sqrt{\frac{a}{b}}\right\}$$\left|\sum_{i=1}^n x_i\right|$% Nested fractions$\left(\frac{\frac{a}{b}}{\frac{c}{d}}\right)$\end{document}
Rendered output
Without sizing:(21)With sizing:(21)Square brackets:[yx2]Curly braces:{ba}Absolute value:∣∑i=1nxi∣Nested fractions:(dcba)
Sometimes you need an invisible delimiter to balance the equation:
Code
Rendered output
% Using \right. for invisible right delimiter$\left\{\begin{array}{ll}x + y = 1 \\x - y = 0\end{array}\right.$% Using \left. for invisible left delimiter$\left.\frac{dy}{dx}\right|_{x=0}$
Rendered output
System with invisible right delimiter:{x+y=1x−y=0Evaluation bar with invisible left delimiter:dxdyx=0
% Good spacing with \bigl and \bigr$\bigl( x + y \bigr)$% Poor spacing with just \big$\big( x + y \big)$% For better spacing around bars$\left\lvert x \right\rvert$ % Better than |x|
% Instead of manual brackets$|| v ||$% Use semantic commands$\lVert v \rVert$ % Double bars for norm$\lvert x \rvert$ % Single bars for absolute value$\langle u, v \rangle$ % Angle brackets for inner product
LaTeX Cloud Studio automatically handles package loading! The amsmath package is pre-loaded, so all bracket commands work immediately without manual package management.