# How can I write a latex fraction without a bar? [duplicate]

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.

I tried using the matrix env,

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


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

-

## marked as duplicate by tohecz, Gonzalo Medina, egreg, lockstep, JakeSep 3 '12 at 18:33

I think you want substack there's quite a few very similar question on this site, like separate-long-math-text-under-sum-symbol-into-different-lines. Let us know if it's not a duplicate :) –  cmhughes Sep 3 '12 at 17:57
There is an answer using genfrac, basically \genfrac{}{}{0pt}{}{x}{y} –  bobobobo Feb 2 '13 at 22:16
Another solution is to use a minipage with limited width –  bobobobo Feb 2 '13 at 22:33

try

\documentclass{article}
\usepackage{amsmath}

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


maybe this is what you want to achieve.

-