I'd like to do a simple version of the solutions of here. It contains my problem 1:1 and I'd like to make it simpler than the proposed solution with the array-package shows. Although I read the amsmath manual, I can't see the forest for the trees.
So a "simpler" version would be appreciated, which I thought I found here. Thanks to Thorsten, I understand alignat* now, but the result doesn't even look "ok":
Code: Select all
\documentclass{scrartcl}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{2}
k^{(1)}\cdot u_{1} &- k^{(1)}\cdot u_{2} &+ 0\cdot u_{3} &= P_{1}\\
-k^{(1)}\cdot u_{1} &+ \bigl( k^{(1)} + k^{(2)}\bigr)\cdot u_{2} &- k^{(2)}\cdot u_{3} &= P_{3}\\
0\cdot u_{1} &- k^{(2)}\cdot u_{2} &+ k^{(2)}\cdot u_{3} &= P_{3}
\end{alignat*}
\end{document}