\documentclass{article} \newcommand{\XXX}{} \begin{document} $a\in\XXX$ $a\in\XXX$ \end{document}