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

My code looks like this:

\theta^2&\equiv\frac{2m a^2\epsilon}{\hbar^2},\ \lambda&\equiv&\theta^{\frac{2p}{p+1}}\frac{E}{\epsilon},\\
E&=\lambda\epsilon\theta^{-\frac{2p}{p+1}},\ u&=&\theta^{\frac{1}{p+1}}\frac{x}{a}

And the picture looks like this: picture

Why is there extra space after lambda, and not after u? The first pair of equations in upper and lower row look good, why is second ones making an issue?

Thank you for help.

share|improve this question
up vote 2 down vote accepted

You should position the ampersands slightly different.

\usepackage{mathtools}  % loads »amsmath«

    \theta^2 &\equiv \frac{2m a^2\epsilon}{\hbar^2}, & \lambda &\equiv \theta^{\frac{2p}{p+1}}\frac{E}{\epsilon},\\
    E &= \lambda\epsilon\theta^{-\frac{2p}{p+1}},\quad & u &= \theta^{\frac{1}{p+1}}\frac{x}{a} 
share|improve this answer
Thanks, that seem to worked. I need to add blank space every time I want this effect in alignat? – dingo_d Apr 18 '11 at 18:59
No. It's just a common practise for me to keep track of the alignments. – Thorsten Donig Apr 18 '11 at 19:03

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.