Big pi or product (Π) symbol in LaTeX
In this tutorial, I will show you how to write the Big pi or Product (Π) symbol in LaTeX. And how to use limits with this symbol.
In order to get the product symbol in small size you can use the \Pi
command and for the big size, you can use \prod
command.
Command | Output |
---|---|
\pi | ![]() |
\Pi | ![]() |
\prod | ![]() |
How to use limits with product symbol
In order to write limits with this symbol you can use this,
\Pi_{<lower>}^{<upper>}
or use \pord_{<lower>}^{<upper>}
\documentclass{article} \begin{document} $$ \verb|\Pi_{i=1}^{m}|\rightarrow \Pi_{i=1}^{m} $$ $$ \verb|\prod_{i=1}^{m}|\rightarrow \prod_{i=1}^{m} $$ \end{document}
Output:
In LaTeX inline and display math mode, the position of the upper and lower limits will look slightly different, which you can control with the \limits
and \nolimits
commands
\documentclass{article} \begin{document} \verb|\pord| with limits in display math mode: $$\prod_{i=1}^{n}$$ \verb|\pord| with limits in inline math mode: $\prod_{i=1}^{n}$\\[4pt] \verb|\pord| with \verb|\limits| in display math mode: $$\prod\limits_{i=1}^{n}$$ \verb|\pord| with \verb|\limits| in inline math mode: $\prod\limits_{i=1}^{n}$\\[4pt] \verb|\pord| with \verb|\nolimits| in display math mode: $$\prod\nolimits_{i=1}^{n}$$ \verb|\pord| with \verb|\nolimits| in inline math mode: $\prod\nolimits_{i=1}^{n}$ \end{document}
Output:
Leave a Reply