Lets say I want to sum over i \in S
and i \in T
. Currently I use:
\displaystyle \sum_{i \in S, i \in T} i
But this will display the sum-overs one after the other and not one above the other like I want.
How can I do this?
thanks
latex
Lets say I want to sum over i \in S
and i \in T
. Currently I use:
\displaystyle \sum_{i \in S, i \in T} i
But this will display the sum-overs one after the other and not one above the other like I want.
How can I do this?
thanks
Best Answer
\atop
doesn't give the right spacing. You should useamsmath
and use\substack
:The results, first with
limits using atop http://www.astro.virginia.edu/~as8ca/SO/atop.png limits using substack http://www.astro.virginia.edu/~as8ca/SO/substack.png\atop
on the left and\substack
on the right:And then one above the other, first
\atop
:limits using atop http://www.astro.virginia.edu/~as8ca/SO/atop.png
then
\substack
:limits using substack http://www.astro.virginia.edu/~as8ca/SO/substack.png