The code
\documentclass{standalone}
\usepackage{amsfonts}
\begin{document}
\textit{Given a collection \(M\) of \(\mathbb{S}\)-terrible $n$-beautiful gizmos ...}
\end{document}enter code here
produces too much space in \(M\) of and too little space in of \(\mathbb{S}\):
I believe the latter issue can be dealt with by saying of\/ \(\mathbb{S}\). What's the standard way to deal with the former one?

\it Given a collection $M$ of $\rm S$-terrible $n$-beautiful gizmos \dots \bye. – barbara beeton Dec 09 '16 at 19:48