Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What is the best solution for an equation which is overflowing?

I have the structure:

\begin{align}
long here & long here 2
\end{align}

and this causes the long here 2 to overflow.

I want to put it in the line below, shifted almost all the way to the left. One way to do it might be:

\begin{align}
\lefteqn{long here} & \\
& long here 2
\end{align}

but I thought there might be a way that wouldn't require lefteqn. is it so? (by the way, is lefteqn a no-no like eqnarray?)

share|improve this question
2  
what about using the multline environment instead of align? –  Guido Aug 18 '12 at 12:49
    
but I do want it to be pushed forward a little (the second line) –  kloop Aug 18 '12 at 13:18
add comment

1 Answer

up vote 6 down vote accepted

What you want is the multline environment (from amsmath):

\begin{multline}
long left \\
long right
\end{multline}

The mathtools package provides also multlined that is to multline as aligned and gathered are to align and gather.

share|improve this answer
add comment

Your Answer

 
discard

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.