( ) or [ ], but escape curly braces as \{ \} because unescaped braces group source code. For fractions, matrices, or other tall expressions, wrap the pair with \left and \right; use \big, \Big, \bigg, or \Bigg when both sides need a fixed size.
Quick answer:
\left( \frac{a}{b} \right) produces parentheses that grow with the fraction. Every \left needs a matching \right; use an invisible \left. or \right. when only one side should be visible.Prerequisites: Basic LaTeX math mode knowledge. See Mathematical Expressions for math mode basics.Quick answers
Types of Brackets and Delimiters
Complete Visual Reference
Basic Examples
Automatic Delimiter Sizing
The \left and \right Commands
LaTeX can automatically size delimiters to match their content using \left and \right:
Important Rules for \left and \right
Invisible Delimiters
Sometimes you need an invisible delimiter to balance the equation:Manual Size Control
Size Commands
When automatic sizing doesn’t give the desired result, use manual size commands:Delimiter Size Commands (smallest to largest):
Size Comparison
Left and Right Variants
Advanced Techniques
Nested Brackets
Multi-line Equations with Brackets
For equations that span multiple lines, you need special handling:Matrix Delimiters
Special Use Cases
Set Notation
Interval Notation
Physics and Engineering
Common Errors and Solutions
Error: Missing \right. inserted
Error: Missing \right. inserted
Problem: Every
\left needs a matching \right, even across line breaks.Solution: Use \right. for an invisible right delimiter:Brackets too large with \left...\right
Brackets too large with \left...\right
Problem: Automatic sizing makes brackets unnecessarily large.Solution: Use manual sizing instead:
Curly braces not showing
Curly braces not showing
Problem:
{ and } have special meaning in LaTeX.Solution: Escape them with backslash:Mismatched bracket sizes in aligned equations
Mismatched bracket sizes in aligned equations
Problem: Brackets don’t match across aligned lines.Solution: Use phantom brackets:
Best Practices
1. Choose the Right Delimiter
2. Sizing Guidelines
- Use
\left...\rightfor complex expressions with varying heights - Use manual sizing (
\big,\Big, etc.) for simple expressions - Be consistent within the same document
- Don’t oversize—readability is key
3. Spacing Considerations
4. Semantic Markup
Use meaningful commands when available:Quick Reference Card
Practice in LaTeX Cloud Studio
Try bracket sizing in the editor
Test
\left, \right, \lvert, and \lVert in a live document without leaving the browser.Write a first project
Move from isolated syntax examples to a full document workflow.
Related Topics
Mathematical Expressions
Learn math mode basics and expressions
Matrices Guide
Complete guide to matrices and arrays
Equations
Multi-line and numbered equations
Math Symbols
Comprehensive symbol reference
