假设我们有以下代码:
\documentclass[reqno]{amsart}
\usepackage{amsaddr}
\usepackage{geometry}
\geometry{margin=1in,top=3cm}
\usepackage{amssymb,mathrsfs}
\begin{document}
\begin{gather}
\mathbb{P}\left(\mathcal{D}\left((0,1),\{x_{w-1}\}_{w\in \text{\textbf{V}}},\mathcal{S}(\mathscr{U}(13/6,F_2^{\star},1),1)\right)\right)=\\
\left\{{y}\bigg/\left({\sum\limits_{z\in \mathcal{D}\left((0,1),\{x_{w-1}\}_{w\in \text{\textbf{V}}},\mathcal{S}(\mathscr{U}(13/6,F_2^{\star},1),1)\right)} z}\right):y\in \mathcal{D}\left((0,1),\{x_{w-1}\}_{w\in \text{\textbf{V}}},\mathcal{S}(\mathscr{U}(13/6,F_2^{\star},1),1)\right)\right\}\approx\nonumber\\
\left\{{y}\bigg/(8.08697):y\in\left\{1.1,1.50333,2.0025,1.58114,0.9\right\}\right\}\approx\nonumber\\
\left\{\frac{1.1}{8.08697},\frac{1.50333}{8.08697},\frac{2.0025}{8.086097},\frac{1.58114}{8.08697},\frac{0.9}{8.08697}\right\}\approx\nonumber\\
\left\{.136021,.185895,.123656,.24762,.195517,.11129\right\}\nonumber
\end{gather}
\end{document}
问题:我们如何摆脱第一行的居中gather
?
答案1
我强烈建议你找一个缩写,比如,,\mathcal{D}^{\star}
来表示重复的
\mathcal{D}\left((0,1),\{x_{w-1}\}_{w\in \text{\textbf{V}}},
\mathcal{S}(\mathscr{U}(13/6,F_2^{\star},1),1)\right)
字符串。这将允许多行材料的排版比以前更加紧凑,如下所示。(还请注意,我已切换到equation
/aligned
组合。这保证只会生成一个方程编号,而不必诉诸大量\nonumber
指令。)
而且,请务必将所有的 替换\text{\textbf{V}}
为\mathbf{V}
。
\documentclass[reqno]{amsart}
\usepackage{amsaddr}
\usepackage{geometry}
\geometry{margin=1in,top=3cm}
\usepackage{mathtools}
% amssymb % loaded automatically by 'amsart' doc. class
\usepackage{mathrsfs} % for '\mathscr' macro
\begin{document}
Put $\mathcal{D}^{\star} = \mathcal{D}\bigl( (0,1),
\{x_{w-1}\}_{w\in\mathbf{V}},
\mathcal{S}(\mathscr{U}(13/6,F_2^{\star},1),1)\bigr)$. Then
\begin{equation}
\begin{aligned}[b]
\mathbb{P}(\mathcal{D}^{\star})
&=\biggl\{
y \Big/ \smash{\smashoperator{\sum_{z\in\mathcal{D}^{\star}}}}
z : y \in \mathcal{D}^{\star}
\biggr\} \\
&\approx
\biggl\{ y \Big/(8.08697):y\in\{1.1,1.50333,2.0025,1.58114,0.9\}\biggr\}
\\
&\approx \biggl\{
\frac{1.1}{8.08697},
\frac{1.50333}{8.08697},
\frac{2.0025}{8.086097},
\frac{1.58114}{8.08697},
\frac{0.9}{8.08697}
\biggr\}\\
&\approx\bigl\{0.136021, 0.185895, 0.123656, 0.24762, 0.195517, 0.11129 \bigr\} \,.
\end{aligned}
\end{equation}
\end{document}