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

How do I

  1. remove the additional space around \underbrace
  2. justify the text under it, if the latter is longer than the text above it?

To illustrate the issue:




\underbrace{a+b}_{\text{a long blah blah blah}}+c

% using the technique of 
% http://tex.stackexchange.com/questions/24912/remove-additional-space-around-underbrace  
\underbracewithoutspace{a+b}{\text{a long blah blah blah}}+c


The first line (plain \underbrace) tries to center the text under the brace, while the second version (taken from this question: Remove additional space around \underbrace{…}) puts the brace under the wrong symbol.

share|improve this question
up vote 5 down vote accepted

\underbracewithoutspace{a+b}{\undertab{a long\\ blah\\ blah}}+c

I wouldn't look for justification in such narrow columns.

share|improve this answer
Thanks! What I'm after is not justification per se, it's correct positioning of the text/formula under the brace if it's longer than what's above it. As a more minor issue: is there a way of aligning what's above the brace with what's below it? In this example, I'm after aligning the a in the 'a long ' with the a in the formula. – Zhenya Sep 22 '11 at 19:26

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.