first of all i have problems with the "tag" command. it does not nummerise the equations automatically.
the second thing is, that the equations sould be "alinged" in reference of the first equal sign (=).
have a look at the amsmath user's guide, it explains numbering and alignment.
For alignment use the align environment. equations and aligned math environments will be automatically numbered. You could use \label and \ref if you need cross references. \tag allows to use different tags like (*), (**) or [A] etc. If you just need (1), (2), ... you don't need \tag.
i am using the book "math into latex" from grätzer.
my problem ist that i need to nummerize the formulars like:
1
2
2a
2b
3
3a
3b
and i am having text within. thanks for your link to "amsldoc". but i guess i am having here a more complex problem. (align) is no problem anymore.
i tryed to turn off the countings with (align*) and use the (tag) or (subequations) command - nothing helped - instead of 2 it shows 2a
This not really a more complex problem. You have to use the subequations environment from amsmath and decrease the equation counter at the right place. Take this as an example.
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{txfonts}
\usepackage{blindtext}
\parindent0em
\begin{document}
\begin{equation}\label{eqn:einstein}
E=mc^2
\end{equation}
\addtocounter{equation}{-1}
\begin{subequations} %\label{eqn:binomi} % label for whole equation system does not really work in this case because of preceding line
\begin{align}
(a+b)^2&=a^2+2ab+b^2 \label{subeqn-1:binomi} \\
\intertext{Some text in between}
(a-b)^2&=a^2-2ab+b^2 \label{subeqn-2:binomi} \\
(a+b)(a-b)&=a^2-b^2 \label{subeqn-3:binomi}
\end{align}
\end{subequations}
\end{document}
The right positioning of labels gives you access to the whole equation system (see remark in code) or single equations of that system. Just try to refer to the labels in your text and see the result. Some usefuls hints for typesetting complex mathematical expressions are given in "Math mode".
First of all I must admit that I was a little bit astonished about your way of coding. Moreover I was not able to compile your code example because I got many errors. So I may venture some enhancements.
Note that I declared some new commands in the preamble to make life easier. Moreover I used the alignat environment instead of the simple align environment. Some useful hints about typesetting mathematical expressions can be found in "Math mode"