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.

I have a formula in the equation environment that goes like

Foo = \bigcup_{x \in veryveryveryverylongdescription} Bar(x)

Because the state space's description is long, the Bar(x) is rejected far away from the \bigcup. I would like Bar(x) to be right next to the union symbol, above the description.

Can this be done cleanly? Or shall I try to have with two equations, some vspace and horizontal space shifts?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Use the \smashoperator macro from the mathtools package:




\[ \mathit{Foo} =
   \smashoperator{\bigcup_{x \in \text{long text}}} \operatorname{Bar}(x) \]

share|improve this answer
I would suggest to try also \smashoperator[r]{...}; this depends on the "long text": if not very long, pushing it under the equals sign may be OK, but not if it goes beyond it. –  egreg Jul 28 '11 at 10:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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