1

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?

1
  • Hi Muaz, Welcome to TeX.SE!. Could you provide a MWE? You can use backticks to edit your post to render inline code snippets :)
    – cmhughes
    Commented Aug 7, 2012 at 20:09

2 Answers 2

3

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
2
  • Use \mathop{\mathsmaller\prod}_{..}^{..} from relsize. The output is similar to that of \textstyle\prod via \DeclareMathOperator*.
    – Werner
    Commented Aug 7, 2012 at 20:20
  • I am still new so cannot post images. thanks
    – Muaz
    Commented Aug 7, 2012 at 20:25
3

For consistency, define a new math operator to be set in \textstyle using amsmath's \DeclareMathOperator*:

enter image description here

\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}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .