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?
\documentclass[a4paper,12pt]{article}
\begin{document}
$\frac{\begin{pmatrix}x\end{pmatrix}x}{2}$
\end{document}
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":
\documentclass[a4paper,12pt]{article}
\begin{document}
$\frac{\begin{pmatrix}x\end{pmatrix}x}{2}e^{\begin{pmatrix}x\end{pmatrix}x}\int_{\begin{pmatrix}x\end{pmatrix}x}$
$\frac{\underbrace{x}x}{2}e^{\underbrace{x}x}\int_{\underbrace{x}x}$
\end{document}



\scaleboxfrom thegraphicxpackage. But how to do this automatically, I don't know... – Seamus May 3 '11 at 21:10