Symbol | Angle brackets |
---|---|
Type of symbol | Mathematics |
Package (requirement) | No |
Argument | Yes |
Latex command | \langle arg \rangle |
Example | \langle arg \rangle → 〈arg〉 |
You need to use the \langle arg \rangle
command to write angle brackets in latex. But if the equation is large, I would not recommend using this command.
\documentclass{article}
\begin{document}
$$ \langle x_1 , y_1 \rangle $$
$$ \langle \frac{1}{a} , \frac{1}{b} \rangle $$
$$ \langle \frac{1}{x^2} + \frac{1}{y^2} \rangle $$
\end{document}
Output :
If the equation is large, it would be best to use the \left\langle arg \left\rangle
command. By this, the size of the bracket will be automatically adjusted according to the size of the equation.
\documentclass{article}
\begin{document}
$$ \left\langle \frac{1}{a} , \frac{1}{b} \right\rangle $$
$$ \left\langle \frac{1}{x^2} + \frac{1}{y^2} \right\rangle $$
\end{document}
Output :