[Tex/LaTex] How to math code Product symbol other than type $\prod_{i=1}^{n}$


I can code symbols of the type $$\prod_{i=1}^{n}$$
but when it comes to:
enter image description here

I cannot get the less-than-equal sign placed as shown.Can this be done easily?

EDIT: below removed as reason explained in the comments
**not sure why $\prod_{i=1}^{n}$ not displaying properly while in math.stackexchange its fine*

Best Answer

If it's for in-line mathematics, you can use

$\prod\limits_{i\le 7}$,

but be aware this may slightly increase the vertical spacing with the line below.

Related Question