The reason why I'm not using a align-environment is that I want to have the top- and bottomrules of the booktabs class. Maybe there is another solution?
My working example (note that the array as a whole gets an equation numer):
Code: Select all
Code, edit and compile here:
\documentclass{scrreprt}\usepackage{booktabs}\begin{document}\begin{equation}\begin{array}{rl}\toprulex^2 + y^2 &= z^2\\x^2 &= z^2 - y^2\\\bottomrule\end{array}\end{equation}\end{document}