CamteX
All guides

Brackets in LaTeX

Plain parentheses do not grow with a fraction inside them. Put \left and \right in front of them and LaTeX sizes them automatically. Curly braces need a backslash, because bare braces group code.

Automatic height

\left( \frac{a}{b} \right)^2
(ab)2\left( \frac{a}{b} \right)^2

Curly braces

A = \{ 1, 2, 3 \}
A={1,2,3}A = \{ 1, 2, 3 \}

Absolute value and norm

|x|, \quad \|\vec{v}\|
x,v|x|, \quad \|\vec{v}\|

Manual size

\bigl( x + y \bigr)
(x+y)\bigl( x + y \bigr)

Common mistakes

See also

Don't want to memorize commands?

Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.

Try it free