Left align block of equations

后端 未结 4 1212
臣服心动
臣服心动 2021-01-30 08:28

I want to left align a block of equations. The equations in the block itself are aligned, but that\'s not related at all to my question! I want to left align the equations rathe

4条回答
  •  自闭症患者
    2021-01-30 09:04

    Try this:

    \begin{flalign*}
        &|\vec a| = \sqrt{3^{2}+1^{2}} = \sqrt{10} & \\
        &|\vec b| = \sqrt{1^{2}+23^{2}} = \sqrt{530} &\\ 
        &\cos v = \frac{26}{\sqrt{10} \cdot \sqrt{530}} &\\
        &v = \cos^{-1} \left(\frac{26}{\sqrt{10} \cdot \sqrt{530}}\right) &\\
    \end{flalign*}
    

    The & sign separates two columns, so an & at the beginning of a line means that the line starts with a blank column.

提交回复
热议问题