I'm writing a mathematical (linear optimization) problem in Latex and I'm having trouble delimiting all the lines (I'm using $$something$$) so that the formulation looks balanced.
which I've written like:
$$\text{Minimize} \quad V_m(w,lh)=T(wl_{(bottom)}+2lh_{(sides)}+2wh) \quad \text{(tavoitefunktio)}$$<br>
$$\text{subject to} \quad
\begin{cases}
lwh=V \\
h=H\\
l \geq 0\\
w \geq 0\\
\end{cases} \text{(rajoitteet)}$$<br>
$$\text{suunnittelumuuttujat} \: w,l \text{ ja } h.$$.
What should I do to get every line (Minimize, subject to, suunnittelumuuttujat) to start from the same position?



$$, see http://tex.stackexchange.com/questions/503/why-is-preferable-to. And check the documentation of amsmath for multiline math environments. – Ulrike Fischer Aug 10 '16 at 12:50multline(no "i") environment ;) – Stefan Pinnow Aug 10 '16 at 12:57amsmath's multiline math environments -- one of which, it so happens, is calledmultline. :-) – Mico Aug 10 '16 at 13:10