Regard the following document:
\documentclass[a4paper,reqno]{amsart}
\usepackage{amssymb,amsmath,amsthm,fullpage}
\begin{document}
For each $k$ we denote by $\lambda_k$ the $k$th symmetric polynomial
in the $x_i$s; that is, we define
\[\textstyle\lambda_k := \sum_\mathrm{$I\subseteq\mathbb{N}_n$ such that $|I|=k$}x_I.\]
\end{document}
When I try to compile it, I get:
! Missing } inserted.
<inserted text>
}
l.9 ...\mathrm{$I\subseteq\mathbb{N}_n$ such that $|I|=k$}
x_I.\]
Why? The braces are surely balanced.
(Surrounding the call to \mathrm in a set of braces makes no difference.)
\mathrmwhen I meant\textrm. – Hammerite Feb 25 '11 at 01:05\textstyle- I don't like the huge operators, fractions etc. TeX uses for displayed maths, but apart from that, if you have a large subscript to add to an operator it looks stupid because the operator floats centred above the subscript in a sea of whitespace. (Yes, I know it is possible to have TeX use the larger operator and position the subscript the way it is positioned when using\textstyle.) – Hammerite Feb 25 '11 at 01:13\mathclap. See for example “Why do I have so much free space on the left-hand side of my tikz diagram?”. – Matthew Leingang Feb 25 '11 at 01:27:-)– Hendrik Vogt Feb 27 '11 at 15:43