代码:
\documentclass[12pt]{article}
\usepackage{float}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{aligned}
&\vec{I}_g + \vec{I}_{R_1} = 0 &\Rightarrow \vec{V}_1 &= \vec{V}_g\\
&-\vec{I}_{R_1} + \vec{I}_C = 0 & &\\
&-\vec{I}_C + \vec{I}_{R_2} = 0 & &\\
&-\vec{I}_{R_1} + I_x + \vec{I}_{R_L} = 0 &\Rightarrow \vec{V}_3 &= 0
\end{aligned}
\qquad
\begin{aligned}
& \vec{I}_{R_1} = \left(\vec{V}_1 - \vec{V}_2\right)/R_1\\
& \vec{I}_{R_2} = \left(\vec{V}_3 - \vec{V}_4\right)/R_2\\
& \vec{I}_{R_L} = \vec{V}_4/R_L\\
& \vec{I}_C = j\omega C \left(\vec{V}_2 - \vec{V}_3\right)\\
& \vec{I}_G = ?\\
& \vec{I}_x = ?
\end{aligned}
\end{equation}
\end{document}
输出:
期望输出:
我的教授实际上是用 Scientific Word 制作了这个图表。我试图让我的输出中的间距与他所做的相同。我还想知道为什么我写的问号比 RHS 上电流(I,amp)方程式的其他方程式更近(而对于他的,他的问号与等号的间距与其他方程式一样)。有没有办法像他那样正确地间隔内容(并将枚举数字放在左边的 4 个方程式的左边)?
答案1
这符合您的需要吗?
\documentclass[12pt]{article}
\usepackage{float}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{aligned}
&\mbox{1)}&&\vec{I}_g + \vec{I}_{R_1} = 0 &\Rightarrow \qquad \vec{V}_1 &= \vec{V}_g\\
&\mbox{2)}&&-\vec{I}_{R_1} + \vec{I}_C = 0 & &\\
&\mbox{3)}&&-\vec{I}_C + \vec{I}_{R_2} = 0 & &\\
&\mbox{4)}&&-\vec{I}_{R_1} + I_x + \vec{I}_{R_L} = 0 &\Rightarrow \qquad \vec{V}_3 &= 0
\end{aligned}
\qquad\qquad
\begin{aligned}
& \vec{I}_{R_1} = \left(\vec{V}_1 - \vec{V}_2\right)/R_1\\
& \vec{I}_{R_2} = \left(\vec{V}_3 - \vec{V}_4\right)/R_2\\
& \vec{I}_{R_L} = \vec{V}_4/R_L\\
& \vec{I}_C = j\omega C \left(\vec{V}_2 - \vec{V}_3\right)\\
& \vec{I}_G = \mbox{?}\\
& \vec{I}_x = \mbox{?}
\end{aligned}
\end{equation}
\end{document}