Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
\begin{equation}
\exists_{j\in S j\neq i}\exists_{n \in \mathbb{N}} {p_{ij}}^{(n)}>0
\end{equation}
\end{document}

This code gives an output:

What I need is:

How can I do that?

share|improve this question

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.

add comment

1 Answer 1

up vote 7 down vote accepted

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}
\begin{equation}
\exists_{\substack{j\in S \\ j\neq i}}\exists_{n \in \mathbb{N}} {p_{ij}}^{(n)}>0
\end{equation}
\end{document}
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.