Inserting new line under \exists in math mode [duplicate]

Possible Duplicate:
Separate long math text under sum symbol into different lines?

Minimal example of my document. I'm using redesigned exists.

\documentclass{article}
\usepackage{amsfonts}
\usepackage{amsmath}

\let\stdexists\exists
\renewcommand{\exists}{\mathop{\vphantom{\sum}\mathchoice
{\vcenter{\hbox{\huge$\stdexists$}}}
{\vcenter{\hbox{\Large$\stdexists$}}}{\stdexists}{\stdexists}}\displaylimits}

\begin{document}
$$\exists_{j\in S j\neq i}\exists_{n \in \mathbb{N}} {p_{ij}}^{(n)}>0$$
\end{document}


This code gives an output:

What I need is:

How can I do that?

-

marked as duplicate by Werner, egreg, Ichibann, Stefan Kottwitz♦Mar 1 '12 at 14:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Use the \substack command from the amsmath package.

\documentclass{article}
\usepackage{amsfonts}
\usepackage{amsmath}

\let\stdexists\exists
\renewcommand{\exists}{\mathop{\vphantom{\sum}\mathchoice
{\vcenter{\hbox{\huge$\stdexists$}}}
{\vcenter{\hbox{\Large$\stdexists$}}}{\stdexists}{\stdexists}}\displaylimits}

\begin{document}
$$\exists_{\substack{j\in S \\ j\neq i}}\exists_{n \in \mathbb{N}} {p_{ij}}^{(n)}>0$$
\end{document}

-