我想问一下您关于在不同环境中呈现对齐的结构化数学和文本内容的最佳方式的意见,例如:
\documentclass{book}
\usepackage{mathtools,amssymb,amsthm}
\theoremstyle{plain} \newtheorem{ass}{Assumption}[chapter]
\newcommand{\matr}[1]{\mathbf{#1}}
\newcommand{\tran}{^{\mkern-1.5mu\mathsf{T}}}
\newcommand{\gaussian}[2]{\mathcal{G}\left({#1},{#2}\right)}
\newcommand{\expected}[1]{\mathbb{E}\left[{#1}\right]}
\begin{document}
\begin{ass} This is the long assumption:
\begin{subequations}
\begin{align}
\expected{\matr{a}_k} &= \matr{0},\;\forall k \qquad&& \text{(very short text)}\\
\expected{\matr{b}_k \matr{b}_l\tran} &= \matr{I}\times\matr{B}\times\matr{I}\footnote{this is a footnote example},\;\forall k,l \qquad&& \text{(this is a long long long long text)}
\end{align}
\end{subequations}
\end{ass}
\begin{ass} This is the short assumption:
\begin{align}
\matr{c}_k &\sim \gaussian{\matr{\mu_{\matr{c}}}}{\Sigma_{\matr{c}}} \qquad&& \text{(this is a short text)}
\end{align}
\end{ass}
\end{document}
输出:
我不太喜欢的是两个不同环境之间的间距不同/不一致。您有什么建议可以更好地呈现内容吗?