# Big \sum instead of small \sum in array environment

\begin{align*}
\begin{array}{c}
\min \: A = \min \: \sum_{i\in B} C_i
\\ \    \min \: D = \min \: \sum_{i\in B} \pi_i \cdot F_i
\end{array}
\end{align*}


How can I get i \in B below the \sum symbol without breaking the align into multiple aligns?

-
I strongly advise you to consider Hendrik's answer: the fact that \sum is typeset in textstyle is a signal that array is not the right environment to typeset your equations. – Martijn Sep 20 '10 at 10:28

By putting a \displaystyle in front of the \sum. You basically want the font to behave like it does in a top-level environment, because it's nested in an array it gets assigned a \textstyle font size.

Why you're not aligning the equations on the equals sign beats me though. It might be better to use two equation environments in this case, the code wouldn't look so bloated as it does now.

-
Thanks. I do not align them on the equal sign because in reality one is much larger than the other. Aligning them does not look very nice... – Frank Seifert Sep 19 '10 at 13:37
@Frank: Then you shouldn't be using align. You should take a look at the other math environments provided by amsmath and pick one that's more suited to what you're doing. Using array is wrong. – TH. Sep 20 '10 at 0:14
@TH: I only knew of equation and align. I'll look into it. – Frank Seifert Sep 20 '10 at 1:08
@Frank: There is a gather environment that does exactly what you want, i.e., combine multiple equations without aligning them. – Pieter Sep 20 '10 at 8:29

I would typeset this as follows:

\begin{align*}
\min \: A &= \min \: \sum_{i\in B} C_i \\
\min \: D &= \min \: \sum_{i\in B} \pi_i \cdot F_i
\end{align*}


Then it is aligned, and the sums are as you want them. If you do not want it aligned, use gather instead of align. If you want more vertical space between the two lines, use \\[1ex] instead of \\. (Incidentally, I would not use \: after the \min.)

-
Thanks for the hint to \[1ex]! – Frank Seifert Sep 20 '10 at 13:52
"I would not use" is an understatement, the space of course ought not to be there. – yo' Nov 22 '14 at 12:30

This link shows a way of using \smashoperator[r] in mathtools.

\begin{align*}
\begin{array}{c}
\min \: A = \min \: \smashoperator[r]{\sum_{i\in B}} C_i
\\ \\
\min \: D = \min \: \smashoperator[r]{\sum_{i\in B}} \pi_i \cdot F_i
\end{array}
\end{align*}

-
And how does it solve the problem of the OP? – yo' Nov 22 '14 at 10:07
@tohecz it puts $i \in B$ under the sum symbol. – hengxin Nov 22 '14 at 12:20
However, there have been presented other (and better and more proper) methods how to achieve this. The true problem here is actually misuse of array in place of gather or gathered. And anyways, \smashoperator isn't really necessary in this case, \displaystyle as Pieter suggests is better, but as I say, still highly suboptimal. – yo' Nov 22 '14 at 12:29