I am trying to use \prod
in math display mode, but the default size is larger than I want, so I am using \mathsmaller
from the relsize
package to reduce the size. An unwanted side effect of this, however, is that it causes the limits of the product to appear on the right side of it instead of above and below. Is there any way to make the symbol smaller while keeping the limits above and below the product symbol?
-
Hi Muaz, Welcome to TeX.SE!. Could you provide a MWE? You can use backticks to edit your post to render inline code snippets :)– cmhughesCommented Aug 7, 2012 at 20:09
Add a comment
|
2 Answers
I don't know the package you mention and you didn't provide an example but using \mathop
around the construction will revert to the operator limits positioning.
\mathop{\mathsmaller.....}_0^n
For consistency, define a new math operator to be set in \textstyle
using amsmath
's \DeclareMathOperator*
:
\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\DeclareMathOperator*{\sProd}{\textstyle\prod}
\usepackage{relsize}% http://ctan.org/pkg/relsize
\begin{document}
\[
\prod_{i=1}^{\infty}\ %\frac{1}{i} =
{\mathsmaller \prod_{i=1}^{\infty}}\ %\frac{1}{i} =
\sProd_{i=1}^{\infty} %\frac{1}{i}
\]
\end{document}