代码如下
\begin{equation}
\begin{aligned}
\centering
\bar{x} = 150.2mm\\
\bar{t}=7.14s\\
\bar{d}=1.99mm\\
\bar{D}=61.46mm\\
\rho_1&=0.957\frac{g}{cm^3}=957\frac{kg}{m^3}\\
m&=0.0328g\\
T&=22.5^{\circ}C\\
g&=9.794\frac{N}{m^2}
\end{aligned}
\end{equation}
我想实现每个公式间换行并且居于页面正中位置。
但是latex报错 Missing $ inserted
同时这行 \bar{x} = 150.2mm\\ 说 There is no end here.
换一种方式进行居中试试,可以把公式用如下的方式包裹:
\begin{center}
\begin{equation}
...
\end{equation}
\end{center}