I have equations of the form
a = b + d for i <= 4, j < 3
= c for i = 5
= d - e + u for i > 5
I am writing them using the following code in latex:
\begin{equation}
a = \left\{
\begin{array}{lr}
b + d & \mbox{for } i \le 4, j < 3 \\
c & \mbox{for } i = 5 \\
d - e + u & \mbox{for } i > 5
\end{array}
\right.
\label{eqn:simple_one}
\end{equation}
But the problem is that the conditional statements starting with "for" are always right aligned and the output looks like this (with a left brace after the "=" sign, which i cannot draw :) ).
a = b + d for i <= 4, j < 3
c for i = 5
d - e + u for i > 5
I wanted to make the condtional part left aligned such that the words "for" come exactly one below the other. How can this be done?