I tried to linebreak inside math mode which did not work. So searching for that led me to try using 'align' instead. So I'm trying to break a line inside align with the following code:

```
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
R = \left\{(S_1,S_1), (S_1,S_4), (S_4,S_4), (S_4,S_1), (S_2,S_2), (S_2,S_3), (S_3,S_3), (S_3,S_2), (S_0,S_0), \\
(S_0, S_5), (S_5,S_5) , (S_5,S_0)\right\}
\end{align}
\end{document}
```

I get the error message : `Extra }, or forgotten \right. \end{align}`

which I don't understand since I do have an opening and closing curly bracket?

Anyhow, the above does break the line in some way but it looks really ugly, and aligned to the right for some reason. Could someone show me how I could align the set I'm trying to write out, nicely on two lines?

## Best Answer

In order to fix that, you will have to give the

`\left\{`

its counterpart which would be`\right.`

on the same line. The second line would need a`\left. ... \right\}`

.As you do not need auto-sized brackets here, I would leave it all away.

Here is your example and my version:

And here is a screen-shot of the second version (as the first version exceeds all possible limits...)