TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This equation number is in chapter 3, so when it comes like 3.45 in front of the equation, then no space with the equation and the equation number

    A_{1}r^{-(g_{0}(z)+g_{1}(z,\lambda))/B} \bigg(\frac{d g_{0}}{g z} +\frac{g g_{1}}{g z}\bigg) + (B_{2}+C_{c})r^{-(c_{0}(z)+c_{1}(z,\lambda)+f_{2}(z))/k}\bigg(\frac{d f_{0}}{d y} +\frac{d f_{1}}{d z}+\frac{d f_{x}}{d z}\bigg)-ccf=0 \nonumber  \\
 (1+ggr^{f_{2}(b)/rr}) \bigg(\frac{d f_{gg}}{d z} +\frac{d f_{1}}{dhh}\bigg) +\frac{d f_{2}}{d z}-ff=0 \label{mmm6}
share|improve this question
up vote 5 down vote accepted

Stop using eqnarray use align from amsmath. AMS tracks the width of the equation number and move it out of the way if necessary, eqnarray obviously does not.

For more info as to why one should not use eqnarray see:


share|improve this answer
but then equation number goes to a new row – Harry Oct 25 '13 at 12:14
Where else should it go? – daleif Oct 25 '13 at 16:01
cant we get the equation number on the same line where the equation is? – Harry Oct 25 '13 at 23:57
If the EQ is too long, then how? Breaking display eqs are extremely difficult business, just look at the breqn package which is an attempt to solve this. So for most people it is better to break these eqs by hand. That is also what I do all the time. It other ends up being easier to understand for the reader – daleif Oct 26 '13 at 7:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.