9

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.

marked as duplicate by yo', Gonzalo Medina, egreg, lockstep, Jake Sep 3 '12 at 18:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

9

try

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\[
\sum_{\substack{n=0\\ (n+k-i)~\mathrm{even}}}^{k-i}
\]
\end{document}

maybe this is what you want to achieve.

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