# Is it possible to flush left equations using “numcases” or “subnumcases”?

I am wondering if it is possible in LaTeX to flush left equations when using the numcases or subnumcases environment provided by the cases package.

Hereafter I include a bit of code to explain the problem.

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[fleqn]{mathtools}
\usepackage{cases}

\begin{document}
$$\tau = k \cdot i_a$$
\begin{numcases}{v_a = }
v_s - k_1 \cdot (i_a - i) & if ia\\
v_p     &   if ia $\le$ i
\end{numcases}
\begin{subnumcases}{v_a = }
v_s - k_1 \cdot (i_a - i) & if ia\\
v_p     &   if ia $\le$ i
\end{subnumcases}
\end{document}


Compiling this code, you will see that the first equation is flushed left while the other two are not. I would appreciate any suggestions.

-

## migrated from stackoverflow.comApr 3 '12 at 11:29

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  N.N. Apr 3 '12 at 11:48

The cases package has a fleqn option:

 \usepackage[fleqn]{cases}

-
many thanks for your answer. It works perfectly. May I ask you where did you find the information because this option does not appear in the "cases" package manual ? –  RolPasto Apr 3 '12 at 16:12
I just loaded cases.sty into emacs and searched for fleqn:-) –  David Carlisle Apr 3 '12 at 16:45