How to use curly bracket {x} symbol in LaTeX?

SymbolCurly bracket
Type of symbolMathematics
Package (requirement)No
ArgumentYes
Latex command\left\{ arg\right\}
Example\left\{ arg\right\} → {arg}

You can use \{arg\} command to print curly brackets on latex documents.

But I would not recommend the use of this command in case of fractions or large equations.

\documentclass{article}
\begin{document}
   \[ \{ a, b \} \]
   \[ \{ x_1, x_2 \} \]
   \[ \{ \frac{1}{x_1} , \frac{1}{x_2} \} \]
\end{document}

Output :

Use curly bracket in latex.

In the above quote, you will see that in the case of fractions the size of the bracket is not being adjusted automatically as the size of the equation.

For this, you need to use the \left\{ arg\right\} command by which the size of the bracket will be adjusted automatically.

\documentclass{article}
\begin{document}
   \[ \left \{ \frac{1}{x_1} , \frac{1}{y_2} \right \} \]
   \[ \left \{ \frac{1}{a_1} , \frac{1}{b_2} \right \} \]
\end{document}

Output :

Use curly bracket in big equation.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top