题
我试图对准以下公式围绕平等的标志。我能做些什么?谢谢!我使用的AMSMath包
$$m\ddot{x}_{1}-K(x_{2}+x_{12})+C(\dot{x}_{12}+\dot{x}_{2})+2C\dot{x}_{1} = fx_{1}$$
$$m\ddot{x}_{2}-K(x_{3}+x_{1})+C(\dot{x}_{1}+\dot{x}_{3})+2C\dot{x}_{2} = fx_{2}$$
$$m\ddot{x}_{3}-K(x_{4}+x_{2})+C(\dot{x}_{2}+\dot{x}_{4})+2C\dot{x}_{3} = fx_{3}$$
解决方案
\begin{align}
m\ddot{x}_{1}-K(x_{2}+x_{12})+C(\dot{x}_{12}+\dot{x}_{2})+2C\dot{x}_{1} &= fx_{1} \\
m\ddot{x}_{2}-K(x_{3}+x_{1})+C(\dot{x}_{1}+\dot{x}_{3})+2C\dot{x}_{2} &= fx_{2} \\
m\ddot{x}_{3}-K(x_{4}+x_{2})+C(\dot{x}_{2}+\dot{x}_{4})+2C\dot{x}_{3} &= fx_{3}
\end{align}
请参阅用户指南。
其他提示
长话短...以下想法的使用 eqnarray
是一种显而易见的,但事实证明是一个 非常糟糕的主意. eqnarray
带来了很多的问题都解决了 amsmath
和相关的软件包。阅读 拉尔斯Madsen:避免eqnarray 对于细节。
\begin{eqnarray*} %% Do avoid eqnarray if possible.
x_1 & = & 1 \\
x_2 & = & 2 \\
x_3 & = & 3
\end{eqnarray*}
(答案修订的信息 亚瑟Reutenauer, 托马斯 和马德森纸链接到过托马斯。)
有几个包,做你想要什么,从align
包使用最广泛的是AMS” amsmath
环境之一。
这简化amsldoc.pdf提取:
\begin{align}
x&=y \\
x’&=y’ \\
x+x’&=y+y’
\end{align}
在方程遵循&
(等号,在这种情况下)。
不隶属于 StackOverflow