TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

This is my minimal example, the problem is the different size of the two x. I would expect the matrix to be shrunken too, but it isn't. Why is this and how is it corrected?


edit: I just realized: this is not matrix specific. \underbrace does it too. seems like the information to be smaller doesn't get through these "frames":

share|improve this question
With a little experimenting you could probably do what you want with a \scalebox from the graphicx package. But how to do this automatically, I don't know... – Seamus May 3 '11 at 21:10

In this case you can use the smallmatrix environment of the amsmath package. Both x would have the same size. smallmatrix doesn't include delimiters, they have to be added.


small matrix

share|improve this answer
add mathtools and you will get a delimited version, psmallmatrix for example – daleif May 3 '11 at 21:34
i know about smallmatrix but i dont consider this a solution. i expect the stuff to adapt its size depending on context. the single x does it, why not the matrix? what is the rationale of the makers behind this decision? or is it a bug? – peter May 3 '11 at 22:31
i now tried working with \smallmatrix as a means to make stuff smaller, but it has the disadvantage that it raises its contents. so if i use a smallmatrix to make the stuff over an \underbrace smaller, it is at the same time further up and doesnt look like the rest any more. – peter May 5 '11 at 17:25

Without having any solid knowledge on the issue, I trust the amsmath is doing The Right Thing. But I wanted to share some explorations on size and spacing. Personally, I'd fancy the bigl/r one.

  {(x)x\over2} \qquad
  {\left(x\right)x\over2} \qquad
  {{x\choose y}x\over2} \qquad
  {\left({x\atop y}\right)x\over2} \qquad
  {\bigl({x\atop y}\bigr)x\over2} \qquad
  {\pmatrix{x\cr y}x\over2} \qquad

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.