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

Asked 2 years ago, Updated 2 years ago, 91 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 

Enter a description of the image here

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

2 Answers

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 }

Example


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:
Enter a description of the image here


2022-09-30 13:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.