using \newcommand or \UseMacro
\newcommand{\tool}{\textsc{CrawLabel}}
\newcommand{\StateVertex}[2][]{$\mathcal{S}_{#2}^{#1}$}
\mbox{} make the content in the bracket not change to a new line
\mbox{This is a texting piece of text. This is a texting piece of text.
This is a texting piece of text.}
⚠️ newcommand name cannot contain number
How to highlight Python syntax in LaTeX Listings \lstinputlistings command
% is very important between two subfigure or minipage