# How to put words under and above a math symbol in latex?

I have already used \sum symbol for another reason, I needed an additional symbol and I have used \Xi, but the problem is I cannot put the super/sub scripts directly under or above like \sum or \prod. \displaystyle does not work here. Does anyone have any solution? Alternatively one may try to answer different but related question here

\documentclass{article}
\usepackage{amsmath}

\begin{document}

$${W}^k=\Big(\Xi_{s=1}^{S}\prod_{i=1}^{I}{}\Big)$$

\end{document}


• You're interested in How do I do a one-shot math operator?
– Werner
Jan 25 '18 at 5:57
• also use \Bigl( and \Bigr) never just \Big Jan 25 '18 at 9:19
• @DavidCarlisle why is that? Jan 25 '18 at 12:31
• @Stephan because you get correct (mathopen/mathclose) spacing with bigl and bigr and incorrect (mathord) spacing with big. Jan 25 '18 at 13:37

A variation on https://tex.stackexchange.com/a/394934/4427

\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}

\makeatletter
\newcommand{\bigXi}{%
\DOTSB\mathop{\mathpalette\bigXi@do\relax}\slimits@
}
\newcommand\bigXi@do[2]{%
\vcenter{\hbox{%
\sbox\z@{$#1\sum$}%
\resizebox{!}{0.9\dimexpr\ht\z@+\dp\z@}{\raisebox{\depth}{$\m@th#1\Xi$}}%
}}%
\vphantom{\sum}%
}
\makeatother

\begin{document}

$W^k=\Bigl(\bigXi_{s=1}^{S}\prod_{i=1}^{I}{}\Bigr)$

\end{document}