I have a formula in LaTeX attached below. But I could not justify the position of $+\infty$ symbol. I want it appear just after the $\{$ and aligns to the left of the second term.
The LaTeX Code:
${{R}_{1}}\left( {{x}_{pi}},{{G}_{q}},{{x}_{qj}} \right)=\,\left\{ \begin{matrix}
+\infty & p=q \\
\underset{l=1}{\overset{d}{\mathop \sum }}\,({{x}_{pi}}\left[ l \right]-{{x}_{qj}}\left[ l \right])\left( 2\left( {{x}_{qj}}\left[ l \right]-{{{\bar{x}}}_{q}}\left[ l \right] \right)+({{x}_{pi}}\left[ l \right]-{{x}_{qj}}\left[ l \right])(\left| {{G}_{q}} \right|-1)/|{{G}_{q}}| \right) & p\ne q \\
\end{matrix} \right.$


+\inftywith+\infty\hfill. This will move the+\inftyto the left as desired. – Peter Grill Sep 17 '12 at 5:56