1 多行1个编号 equation
% 整个公式只有一个编号,
\begin{equation}\label{eqn-2}
\begin{aligned}
y & = ax + b\\
z & = cx + d
\end{aligned}
\end{equation}
2)只编号部分行 subequations
有时在论文中会出现公式推导过程,此时中间步骤没有必要编号。为了实现这一目的,只需要在不需要编号的行的末尾(换行符“\\”前)添加**\nonumber**即可,具体如下:
\begin{subequations}\label{eqn-6}
\begin{align}
y & = ax + (bx+c) \nonumber\\
& = (a + b)x + c\\
z & = mx + (nx+p) \nonumber\\
& = (m + n)x + p
\end{align}
\end{subequations}
3)针对每个公式编号,不区分1a) 1b)
align
\begin{align}
&D=FC_{2}(FC_{1}(Drop(GAP(S5))))\\
&f(D)=
\begin{cases}
LD(D),& \text{ $D > \theta$ } \\
S\text{-}Net(D),& \text{ $ D \leq \theta $ }
\end{cases}
\end{align}