Sharedlatex-tests / special-chars.texOpen in CoCalc
\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}

\usepackage{hyperref}
\usepackage{halloweenmath}


\begin{document}

\[
G \xrightswishingghost{h_{1}+\dots+h_{n}}
\bigpumpkin_{t=1}^{n} S_{t}
\]

\end{document}