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?



\left\{which does not see any closure on the same line. Use a\right.at the line end. As this formula wont need any auto-expansion of the brackets, you could use\{as well.\right.just closes the\left,\rightpair. But it prints nothing. There are several post around here, which explain that behaviour.