This is an example code of my problem:

           &1+\frac{1}{2}+\left( \frac{1}{3}+\frac{1}{4} \right)+\left( \frac{1}{5}+\frac{1}                {6}+\frac{1}{7}+\frac{1}{8} \right)+\cdots+\left( \frac{1}{2^{k-1}+1}+\cdots+\frac{1}{2^k} \right)\\
           &+\cdots+\left( \frac{1}{2^{2N-1}+1}+\cdots+\frac{1}{2^{2N}} \right)

It produces a giant blank gap between equality sign and split equations like the following:

enter image description here

I don't know what is wrong. Can anybody enlighten me?

  • 1
    Are you sure you don't want something like \begin{aligned}[t] or \begin{multlined}[t] instead of \begin{split}? By the way, you might need mathtools package. – Manuel Jun 6 '14 at 11:20
  • Oh, aligned is an option, but is it really improper to use split in this case? – Naitree Jun 6 '14 at 11:24
  • 1
    I always thought that split is only meant to be used inside an equation environment so it gets only one number the whole equation while you split it in many lines. And aligned for everything else. – Manuel Jun 6 '14 at 11:31
  • 2
    The amsmath package documentation also says 'The split structure should constitute the entire body of the enclosing structure, apart from commands like \label that produce no visible material.' – Ian Thompson Jun 6 '14 at 12:20
  • 1
    regardless of other considerations, the fact that you begin each line of the split portion with a & is what is pushing it to the right of what's on the longest line. there's rarely a good reason to begin lines of a split (or most other multi-line) environment(s) with &. – barbara beeton Jun 6 '14 at 12:56

I think you may be better off using the multlined environment from the mathtools package.

 1+\frac{1}{2}+\left( \frac{1}{3}+\frac{1}{4} \right)    
  +\left( \frac{1}{5}+\frac{1}{6}+\frac{1}{7}+\frac{1}{8} \right)
  +\cdots+\left( \frac{1}{2^{k-1}+1}+\cdots+\frac{1}{2^k} \right)\\
  +\cdots+\left( \frac{1}{2^{2N-1}+1}+\cdots+\frac{1}{2^{2N}} \right)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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