How to use brackets[..] symbol in LaTeX?

Symbol/UnicodeBrackets/U+005B,U+005D
Type of symbolCalculate expression inside first
Package (requirement)No
ArgumentNo
Latex command\left[arg\right]
Example\left[arg\right] → [arg]

You can use the bracket key [, ] on the keyboard to type the bracket symbol in latex. But if you use fractions in the equation, the size of the bracket will not be adjusted automatically. Below are some examples.

\documentclass{article}
\begin{document}
   \[ [a+b] \]
   \[ [x^2 + y^2] \]
   \[ [\frac{1}{a_1} + \frac{1}{a_2}] \]
\end{document}

Output :

Use brackets in latex.

If you use fractions or large size equations, the best method would be to write \left[arg\right] command. This will automatically adjust the size of the bracket based on the size of your equation.

\documentclass{article}
\begin{document}
   \[ \left[x^2 + y^2\right] \]
   \[ \left[\frac{1}{a_1} + \frac{1}{a_2}\right] \]
   \[ \left[\frac{\frac{1}{x}}{\sin x}\right] \]
\end{document}

Output :

Use brackets in big equation.

Leave a Comment

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

Scroll to Top