2

I am a new latex users and in a report must print this type of summation

enter image description here

What is the latex code

Thanks to Steven B. Segletes I have obtained this result:

enter image description here

I need to reduce the space highlighted

  • related: http://tex.stackexchange.com/questions/7503/how-can-i-write-multiple-lines-in-a-subscript – Henry Feb 11 '16 at 18:36

1 Answers1

3
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[
\sum_{\substack{0\le x<100\\x\in\mathbb{Z}}} f(x)
\]
\end{document}

enter image description here

To keep the substack from affecting the function offset, one can use \mathclap from the mathtools package:

\documentclass{article}
\usepackage{amsmath,amssymb,mathtools}
\begin{document}
\[
\sum_{\mathclap{\substack{0\le x<100\\x\in\mathbb{Z}}}} f(x)
\]
\end{document}

enter image description here