The problem of typesetting with long limits has already been discussed in Improving typesetting of sums with long limits. However, the answer given there uses \mathop
, which does not produce satisfying results if not only the limit, but also the 'operand' is long, as shown in the following MWE:
\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator{\variables}{variables}
\DeclareMathOperator{\parentstate}{parentstate}
\DeclareMathOperator{\visible}{visible}
\newcommand*{\dotcup}{\mathbin{\dot{\cup}}}
\begin{document}
original:
\[
\visible(s) = \variables(s) \dotcup \dot{\bigcup_{p \in \parentstate^+(s)}} \variables(p)
\]
with \verb+\mathop+:
\[
\visible(s) = \variables(s) \dotcup \mathop{\dot{\bigcup} \variables(p)}_{p \in \parentstate^+(s)}
\]
\end{document}
This produces the following:
I'd rather have the best of both approaches, i.e. not have the limit centered under the whole \mathop
, but only under the operator itself, and leave some space at the left of the operator (as in the firstversion), but move the operand closer (as in the second version).