![如何排版像 mcCullagh 和 Nelder 那样的复合数学字母?](https://linux22.com/image/467441/%E5%A6%82%E4%BD%95%E6%8E%92%E7%89%88%E5%83%8F%20mcCullagh%20%E5%92%8C%20Nelder%20%E9%82%A3%E6%A0%B7%E7%9A%84%E5%A4%8D%E5%90%88%E6%95%B0%E5%AD%A6%E5%AD%97%E6%AF%8D%EF%BC%9F.png)
答案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}