答案1
我确实采取了行动,\mathbf
以避免额外的复杂性(或者你可以使用{\mathbf{uv}}
一个额外的组来保持结构作为一个单一的术语
\documentclass{article}
\newcommand\compound[1]{\xcompound#1\xxcompound\,}
\newcommand\xcompound[1]{#1\!\xcompound}
\newcommand\xxcompound[2]{}
\begin{document}
$
\compound{\alpha\beta} +
\compound{\alpha\beta\gamma} +
\mathbf{\compound{uv}}
$
$
{\alpha\beta} +
{\alpha\beta\gamma} +
{\mathbf{uv}}
$
\end{document}