Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > Horizontal and vertical curly Latex braces: \left\,\right\,\underbrace and (...)

Horizontal and vertical curly Latex braces: \left\{,\right\},\underbrace{} and \overbrace{}

All the versions of this article: <English> <français>

How to define horizontal and vertical curly braces ? Answer is here !!!

Vertical curly braces

To define a left vertical curly brace we use the attribute


to close it we use


To do not close ou do not open one of it, we use the dot attribute .
For example:

\sigma(s,i) = \left\{
       \tau_{si} & \mbox{si } \{s,i\} \in E \\
       \infty & \mbox{sinon.}

$$ \sigma(s,i) = \left\{ \begin{array}{ll} \tau_{si} & \mbox{si } \{s,i\} \in E \\ \infty & \mbox{sinon.} \end{array} \right. $$

       \tau_{si} & \mbox{si } \{s,i\} \in E \\
       \infty & \mbox{sinon.}
\right \}=\sigma(s,i)

$$ \left. \begin{array}{ll} \tau_{si} & \mbox{si } \{s,i\} \in E \\ \infty & \mbox{sinon.} \end{array} \right \}=\sigma(s,i) $$

Horizontal curly braces

For horizontal curly braces, we use the fonctions

\underbrace{\ln \left( \frac{5}{6} \right)}_{\simeq -0.1823}
< \overbrace{\exp \left(\frac{1}{2} \right)}^{\simeq 1.6487}

$$ \underbrace{\ln \left( \frac{5}{6} \right)}_{\simeq -0.1823} < \overbrace{\exp \left(\frac{1}{2} \right)}^{\simeq 1.6487} $$

Also in this section

  1. How to write number sets N Z D Q R C with Latex: \mathbb, amsfonts and \mathbf
  2. How to write angle in latex langle, rangle, wedge, angle, measuredangle, sphericalangle
  3. Latex numbering equations: leqno et fleqn, left,right
  4. How to write a vector in Latex ? \vec,\overrightarrow
  5. Latex how to insert a blank or empty page with or without numbering \thispagestyle,\newpage,\usepackage{afterpage}
  6. Latex arrows
  7. Latex natural numbers
  8. Latex real numbers
  9. Latex binomial coefficient
  10. Latex overset and underset
  11. LateX Derivatives, Limits, Sums, Products and Integrals
  12. Latex absolute value
  13. Latex piecewise function
  14. Latex how to hide page number
  15. How to get dots in Latex \ldots,\cdots,\vdots and \ddots
  16. How to write algorithm and pseudocode in Latex ?\usepackage{algorithm},\usepackage{algorithmic}
  17. How to display formulas inside a box or frame in Latex ? \boxed
  18. Latex how to write underscore
  19. How to write table in Latex ? begin{tabular}...end{tabular}
  20. Latex norm for vector and sum
  21. Latex infinity symbol
  22. Latex how to write percent
  23. Latex how to write a fraction
  24. Latex how to write bar
  25. Latex how to write text in math mode
  26. Latex rational numbers
  27. Latex quaternion numbers
  28. Latex complex numbers
  29. Latex indicator function
  30. Latex plus or minus symbol
  31. Latex symbol for all x
  32. Latex symbol exists
  33. Latex symbol not exists
  34. How to write matrices in Latex ? matrix, pmatrix, bmatrix, vmatrix, Vmatrix
  35. Latex horizontal space: qquad,hspace, thinspace,enspace
  36. Horizontal and vertical curly Latex braces: \left\{,\right\},\underbrace{} and \overbrace{}