This question already has an answer here:

I am aware of questions/answers that address the question of space around the equal-sign (e.g. this one or this other question).
However, my question is related to a situation where I make use of \underbrace:

equation with space

The text in \underbrace causes a shift to the right of everything outside of the braces.
I do not want to introduce a linebreak in the text, nor do I want to extend the underbrace - I just do not like the large gap in the equation.
I have tried \! without significant effect.
How do I move the portion to the right of the braces so that it is partially above the text?
(Have I missed something in the mathtools package documentation?)

This portion of code reproduces the equation above:

  {\text{projection of }\vec{\omega}\text{ on }\vec{v}}\vec{v}=%

marked as duplicate by Peter Grill, Werner, Jesse, cmhughes, Guido Feb 7 '14 at 4:42

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.


Try this, using the mathtoolspackage and its \mathclapcommand:



          {\mathclap{\text{projection of }\vec{\omega}\text{ on }\vec{v}}}\vec{v}=%


which gives: enter image description here

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