Symbol | Curly bracket |
---|---|

Type of symbol | Mathematics |

Package (requirement) | No |

Argument | Yes |

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 :**

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 :**