# How do I use Latex to express a parenthesis that represents "inclusive"?

Asked 2 months ago, Updated 2 months ago, 6 views

I would like to use Latex to express the form of "rational and irrational numbers are included in real numbers."

In other words, I would like to express the following ASCII art in the form of an image, but I am worried because I do not know how to output only the left large-wave parentheses conveniently.

/ Reasonable number
Real number - |
\ irrational number


### Tried

[LaTeX]Refer to the parentheses writing list and the summary of how to change the size

real\biggm{
US>Rational\\
US>Unreasonable\\


I tried it with my senses, but it didn't work, and I was at a loss because I couldn't find a page trying the same thing.

To sum up,

• I want to use parentheses to mean that a single set contains two terms, such as rational and irrational numbers

Thank you for your time.

latex mathematics

2022-09-30 13:55

The easiest way is to use the cases environment in the amsmath package.

\ documentclass {article}

\uspackage {amsmath}

\begin { document }

\begin {equation}
f(x)=
\begin {cases}
x&\text { if $x\ge0$}, \\
- x&\text { if $x<0$}.
\end {cases}
\end {equation}

\end { document }


2022-09-30 13:55

"The ""Depending on {Depending on the page below"" is likely to apply."

http://www1.kiy.jp/~yoka/LaTeX/latex.html

Example Description:

\begin {equation}
f(x)=\left\{
\begin {array} {l}
US>1 (when x = 1)\\
0 (when x 1 1)
\end {array}
\right.
\end {equation}


Example Display:

2022-09-30 13:55

## If you have any answers or tips

Popular Tags
python x 4436
android x 1590
java x 1475
javascript x 1385
c x 903
c++ x 831
ruby-on-rails x 681
php x 678
python3 x 651
html x 631