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

With a tall equation like the following, using simple ( and ) gives brackets that are too small, and using \left( and \right) gives ones that are ridiculously big:

enter image description here

a+b\left(\underbrace{\sum_{i=1}^{n}f_i(x)}_{h(x)} +g(x)\right )

I need the brackets to stretch in a way that takes into account my equation may not be distributed evenly across vertical space - e.g. the above case is very bottom-heavy.

How to achieve this?

share|improve this question
Take a look at tex.stackexchange.com/q/1023/86 as I think it address the same problem. Do any of the answers there help? If not, it would help to understand what doesn't work with those. – Loop Space Jun 7 '13 at 16:23
up vote 2 down vote accepted

Try the \big, \Big, \bigg, \Bigg variants:

\big(\underbrace{\sum_{i=1}^{n}f_i(x)}_{h(x)} +g(x)\big)
share|improve this answer

If you do not rely on amsmath package, use nath.


a+b\left(\underbrace{\sum_{i=1}^{n}f_i(x)}_{h(x)} +g(x)\right )


enter image description here

share|improve this answer

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.