0

I am using this formula:

0\leq y\leq 1\leq x\leq 2 = \left\{\begin{array}{ll} 0\leq y\leq 1 \\ 1\leq x\leq 2\end{array} \right.

which gives me this:

img

I would like to ask how I can rewrite it using right curly brace. Thanks.

3
  • Try \right\} instead of \right.
    – koleygr
    Mar 9 '20 at 9:49
  • Nope! Doesn't work. It goes with \left as a pair.
    – J. Doe
    Mar 9 '20 at 9:56
  • What output do you expect? A right curly brace after the "system" ... Isn't it like this? If no, please make your question more clear (in order of the expected output)
    – koleygr
    Mar 9 '20 at 9:58
1

If this is what you want :

enter image description here

Try like this (as per my comment)

\documentclass{article}


\begin{document}

\[
0\leq y\leq 1\leq x\leq 2 = \left\{\begin{array}{ll} 0\leq y\leq 1 \\ 1\leq x\leq 2\end{array} \right\}
\]

\end{document}
3
  • Thanks, but it is not what I intended to do.
    – J. Doe
    Mar 9 '20 at 10:05
  • Thanks! \left. is indeed right.
    – J. Doe
    Mar 9 '20 at 10:19
  • Welcome... Happy TeXing
    – koleygr
    Mar 9 '20 at 10:19
0

Found my solution from this post, it should be:

$$\left.\begin{array}{r}0\leq y\leq 1\\1\leq x\leq 2 \end{array} \right\} \Rightarrow 0\leq y\leq 1\leq x\leq 2$$

which gives me just what I need:

img

2
  • Will do! Thank you so much. What is the error in my code btw?
    – J. Doe
    Mar 9 '20 at 10:17
  • \left needs something on its right to act on it ... \begin{array} isn't something that it can act on ...
    – koleygr
    Mar 9 '20 at 10:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.