多行公式输入,还有一个对齐的问题,通常多行且左对齐,用&和\两个符号搞定,看代码:
egin{align} & left[x + frac{-sqrt{5} + 1}{2} ight] ; left(x + frac{sqrt{5} + 1}{2} ight) \ & vec{abcd}+overrightarrow{fmn} \ & 2^{3} cdot 3^{2} cdot 5 \ end{align} egin{align} p(f_1=0) &= 0.8/0.9*p(s_1=0)+0.1/0.9*p(s_2=0) \ &= 0.8/0.9*0.4+0.1/0.9*0.6 \ &= 0.4222 end{align}
第一个左对齐。
第二个以=号对齐。