For our purposes, “brackets” refers to (parentheses), [square brackets], {curly brackets}, and ⟨angle brackets⟩, as well as |vertical bars or pipes| and ||double pipes||.
Use the \left and \right commands to create brackets that will resize themselves to match what they surround.
See the following table to learn how to write all the different kinds of brackets.
Bracket | LaTeX Markup | Rendered |
---|---|---|
(Parentheses) | (a-b) | |
[Square brackets] | [a-b] | |
{Curly brackets} | \{a-b\} | |
⟨Angle brackets⟩ | \langle a-b \rangle | |
|Vertical bars or pipes| | |a-b| | |
||Double pipes|| | \|a-b\| |
NOTES:
- For curly brackets { } and double pipes add backslash \ to escape each character.
- For \langle and \rangle is type in math mode.
Bracket | LaTeX Markup | Rendered |
---|---|---|
(Parentheses) | \left(\dfrac{a}{b}\right) | |
[Square brackets] | \left[\dfrac{a}{b}\right] | |
{Curly brackets} | \left\{\dfrac{a}{b}\right\} | |
⟨Angle brackets⟩ | \left\langle\dfrac{a}{b}\right\rangle | |
|Vertical bars or pipes| | \left|\dfrac{a}{b}\right| | |
||Double pipes|| | \left\|\dfrac{a}{b}\right\| |
NOTES:
to write \dfrac you must type \usepackage{amsmath} in Latex preamble, before \begin{document} syntax.to learn Latex symbol, The Most Common Symbol In Latex >
Related Post
Latex Text Mode Symbol ( reference )
Tidak ada komentar:
Posting Komentar