( ) 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
basic-brackets.tex
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio
Automatic Delimiter Sizing
The \left and \right Commands
LaTeX can automatically size delimiters to match their content using \left and \right:
auto-sizing.tex
Important Rules for \left and \right
Invisible Delimiters
Sometimes you need an invisible delimiter to balance the equation:invisible-delimiters.tex
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
size-comparison.tex
Left and Right Variants
Advanced Techniques
Nested Brackets
nested-brackets.tex
Multi-line Equations with Brackets
For equations that span multiple lines, you need special handling:multiline-brackets.tex
Matrix Delimiters
matrix-delimiters.tex
Special Use Cases
Set Notation
set-notation.tex
Interval Notation
intervals.tex
Physics and Engineering
physics-brackets.tex
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:example.tex
Brackets too large with \left...\right
Brackets too large with \left...\right
Problem: Automatic sizing makes brackets unnecessarily large.Solution: Use manual sizing instead:
example.tex
Curly braces not showing
Curly braces not showing
Problem:
{ and } have special meaning in LaTeX.Solution: Escape them with backslash:example.tex
Mismatched bracket sizes in aligned equations
Mismatched bracket sizes in aligned equations
Problem: Brackets don’t match across aligned lines.Solution: Use phantom brackets:
example.tex
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
spacing-examples.tex
4. Semantic Markup
Use meaningful commands when available:semantic-markup.tex
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.
