Skip to main content
Write ordinary LaTeX brackets directly as ( ) 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

Critical: Every \left must have a matching \right in the same math environment. They must be balanced like opening and closing HTML tags.

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

Use l and r suffixes for proper spacing: \bigl(, \bigr), \Bigl[, \Bigr], etc. This ensures correct spacing around the delimiters.

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

Problem: Every \left needs a matching \right, even across line breaks.Solution: Use \right. for an invisible right delimiter:
example.tex
Problem: Automatic sizing makes brackets unnecessarily large.Solution: Use manual sizing instead:
example.tex
Problem: { and } have special meaning in LaTeX.Solution: Escape them with backslash:
example.tex
Problem: Brackets don’t match across aligned lines.Solution: Use phantom brackets:
example.tex

Best Practices

1. Choose the Right Delimiter

Good Delimiter Choices:
  • Parentheses: General grouping, function arguments
  • Square brackets: Matrices, commutators, intervals
  • Curly braces: Sets, systems of equations
  • Angle brackets: Inner products, averages
  • Vertical bars: Absolute values, determinants, norms

2. Sizing Guidelines

  • Use \left...\right for 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

New to LaTeX Cloud Studio? The online LaTeX editor page explains how writing and compiling in the browser works without a local TeX installation.
LaTeX Cloud Studio automatically handles package loading! The amsmath package is pre-loaded, so all bracket commands work immediately without manual package management.