
\documentclass{article}
\usepackage{amsmath,amssymb}
\pagestyle{empty}
\begin{document}
\[ \mathcal{ABCD} \neq ABCD \]
\[ \boldsymbol{\mathcal{ABCD}} \neq ABCD \]
\end{document}
