# How to rewrite this using right curly brace? [duplicate]

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:

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

• Try \right\} instead of \right. Mar 9 '20 at 9:49
• Nope! Doesn't work. It goes with \left as a pair. 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) Mar 9 '20 at 9:58

If this is what you want :

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}

• Thanks, but it is not what I intended to do. Mar 9 '20 at 10:05
• Thanks! \left. is indeed right. Mar 9 '20 at 10:19
• Welcome... Happy TeXing Mar 9 '20 at 10:19

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:

• Will do! Thank you so much. What is the error in my code btw? 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 ... Mar 9 '20 at 10:19