对齐环境中的对齐

对齐环境中的对齐

我的最低工作示例:

\documentclass{report}

\usepackage{amsmath}

\begin{document}

\begin{align}
x_1 = \alpha,\, x_2 = q,\, u = \delta \\
f_1(x_1) &= C_1 \left [ \phi_{z1}(x_1) + \phi_{z2}(x_1)M \right ] \\
f_2(x_1) &= C_2 \left [ \phi_{m1}(x_1) + \phi_{m2}(x_1)M \right ] \\
g_1 = C_1 b_z,\, g_2 = C_2 b_m \\
C_1 = \frac{\bar{q}S}{mV_T},\, C_2 = \frac{\bar{q}Sd}{I_{yy}}
\end{align}

\end{document}

结果:

在此处输入图片描述

我想要的是:

在此处输入图片描述

答案1

据我了解,您希望将C_1最后一行移至左侧。(如果不是,只需删除\!)。但是,我建议将 替换,\,,\quad

\documentclass{report}

\usepackage{amsmath}

\begin{document}

\begin{align}
&x_1 = \alpha,\, x_2 = q,\, u = \delta \\
&f_1(x_1) = C_1 \left [ \phi_{z1}(x_1) + \phi_{z2}(x_1)M \right ] \\
&f_2(x_1) = C_2 \left [ \phi_{m1}(x_1) + \phi_{m2}(x_1)M \right ] \\
&g_1= C_1 b_z,\, g_2 = C_2 b_m \\
&\!C_1 = \frac{\bar{q}S}{mV_T},\, C_2 = \frac{\bar{q}Sd}{I_{yy}}
\end{align}

\end{document}

在此处输入图片描述

答案2

Przemyslaw 的答案给出了您想要的输出,但是如果您的方程组变得更加复杂(例如,您想要对齐具有不同对齐点的两组方程),那么您可以aligned在内部使用gather您想要对齐的两个方程:

\documentclass{report}

\usepackage{amsmath}

\begin{document}

\begin{gather}
x_1 = \alpha,\, x_2 = q,\, u = \delta \\
\begin{aligned}
f_1(x_1) &= C_1 \left [ \phi_{z1}(x_1) + \phi_{z2}(x_1)M \right ] \\
f_2(x_1) &= C_2 \left [ \phi_{m1}(x_1) + \phi_{m2}(x_1)M \right ] \\
\end{aligned}\\
g_1 = C_1 b_z,\, g_2 = C_2 b_m \\
C_1 = \frac{\bar{q}S}{mV_T},\, C_2 = \frac{\bar{q}Sd}{I_{yy}}
\end{gather}

\end{document}

相关内容