TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.