如何插入一段漂亮的代码片
\begin{equation} %带大括号的 前面带&符号表示左对齐,如果不带&,则默认右侧对齐
\left{
\begin{aligned}[left]
& \frac{\partial L}{\partial \omega}= 0 \rightarrow \omega = \sum_{i=1}^{n}{a_i\varphi(x_i)} \
& \frac{\partial L}{\partial b}= 0 \rightarrow \sum_{i=1}^{n}{a_i}=0\
& \frac{\partial L}{\partial e_i}= 0 \rightarrow a_i=\gamma e_i\
& \frac{\partial L}{\partial a_i}= 0 \rightarrow \omega^T\varphi(x_i)=b=e_i-y_i =0 \
\end{aligned}
\right.
\end{equation}