I have found many codes through which equations can be aligned in the left but the problem is it assigns either a single number to all the equations or no numbering at all. I want something like fleqn or falign that can retain the auto-numbering feature of eqnarray.
For example:
\documentclass[fleqn]{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{aligned}
&A = B + C + .... \\
& A^\prime = B^\prime + ...\\
&D = E + F ...\\
\end{aligned}
\end{equation}
\end{document}
It assigns a single number to the whole set of equations, but I want numbering for individual equations and I don't want to assign numbers manually, it should be automated. Like when we use eqnarray.
fleqnforamsmathwill position a group of equations with the leftmost edge of the widest member of the group at the left. alignment within the group depends on the grouping structure specified, but every member of the group will be numbered individually. if you will provide a compilable example showing a typical group that you would like to left-align, there is a possible approach that can be tried, but guessing what you want without an example isn't productive. (oh -- welcome to tex.sx.) – barbara beeton Oct 28 '15 at 20:48alignenvironment flush left? – Werner Oct 28 '15 at 20:58[fleqn]in any way you have usedalignedinsideequationwhich by design gives a single number for both centred and flush left. if you want each line numbered usealignnotequationthat applies whether or not you usefleqn. – David Carlisle Oct 28 '15 at 21:54align*to stop numbers, just use the same forms without the*to get numbered equations. – David Carlisle Oct 28 '15 at 21:55alignwith no*will give that result, this question is a duplicate. just a comment on your example -- don't put a\\after the last line; it will cause an extra equation number to be generated, but no equation to refer to. you might want to have a look at theamsmathdocumentation (texdoc amsmath) where it explains the difference betweenalignandaligned. – barbara beeton Oct 28 '15 at 22:03