I've never done LaTeX but wanted to have a good-looking equation for some paper, but I couldn't manage to align vertically things in my equation. I actually have something like that but what I want is to also align the "pour..." statements vertically.
I managed to do that with this piece of code :
MOMKP \left\{
\begin{array}{ll}
Maximiser &$\sum \limits_{\underset{}{j=1}}^n p_{jk}x_j$ pour $k$ = 1,...,$q$\\
s.c &$\sum \limits_{\underset{}{j=1}}^n w_{ij}x_j \leq c_i$ pour $i$ = 1,...,$m$.\\
&$x_j\in \left\{0,1\right\}$ pour $j$ = 1,...,$n$.
\end{array}
\right.
But everything I tried was moving my "pour..." statements to a new line, which is not what I want.
{lll}
. Then put another&
before "pour". And I'm not sure why you're using\underset
.\sum\limits_{j=1}^n
should be enough.{ll}
at the beginning mean that the array have only two left-aligned columns and the three&
are cell separations, so you have 2×3 cells. But it seems that you what 3×3 array, so you need another l and trhee more &.