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'd like to make my summations adjust in size just as brackets and parenthesis do when using \left and \right - in principle, something like this:

\left\sum_i \frac{a+b}{x+y}\right.

This example, however, doesn't compile.

I've seen this question, and others like it, that detail how to make the summation sign larger, but it's not dynamic. Is there a way to do this dynamically?

share|improve this question
Have you seen my answer to the linked question? The macro \resum{<stuff>} kind of re-sizes to <stuff> but could probably be written more robust. – Qrrbrbirlbel Feb 13 '13 at 15:19
I would just like to point out that this is not a good idea. As copy editor of a scientific journal I would definitely reject such feature for "bad typography". – yo' Feb 25 '13 at 20:08

Does this work for you? A command \scalerel intended for math mode that takes two arguments. It scales the first argument's height to match that of the second argument. It also vertically shifts the first argument to match the bounds of the second.







Unscaled: $\preblob\blob$\rule{20ex}{0ex}%
Scaled: $\scalerel{\preblob}{\blob}$

\vspace*{1em} Of course, this can be take to crazy extremes


enter image description here

share|improve this answer
A more generalized version of the \scalerel command given above has been bundled with several other related routines into a new package called scalerel. It was submitted to CTAN on 2013-02-27 – Steven B. Segletes Feb 27 '13 at 11:46

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.