Possible Duplicate:
Separate long math text under sum symbol into different lines?

I'm trying to write a math formula like this:

\sum_{ \frac{n=0}{(n+k-i) \text{~even}} }^{k-i}

This looks just as I want it, but I don't want the bar between n=0 and (n+k-i) text.

enter image description here

I tried using the matrix env,

\sum_{ \begin{matrix}{n=0}\\{(n+k-i) \text{~even}}\end{matrix} }^{k-i}

enter image description here

But that looks really bad, because the (n+k-i) text is too large.




\sum_{\substack{n=0\\ (n+k-i)~\mathrm{even}}}^{k-i}

maybe this is what you want to achieve.

| improve this answer | |

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