插入LaTeX公式,对于复杂的多行语法,推荐使用IguanaTex插件 · Issue #7 · Achuan-2/SlideSCI (original) (raw)

方程组

\begin{cases} x+y+z=10\ x+2y+3z=20\ x+4y+5z=30 \end{cases}

需要改为

\left\{
\begin{matrix}
x+y+z=10 \\
x+2y+3z=20 \\
x+4y+5z=30 \\
\end{matrix}
\right

PixPin_2025-01-14_14-31-39


矩阵

\left( \begin{array}{ccc} 1 & 2 & 3\ 4 & 5 & 6\ 7 & 8 & 9\ \end{array} \right)

需要改为

\left( \begin{matrix} 1 & 2 & 3\ 4 & 5 & 6\ 7 & 8 & 9\ \end{matrix} \right)

PixPin_2025-01-14_14-52-30


连续等式对齐

\begin{align} f(x) & ={\frac{1}{1+e^{-x}}} \ f'(x) & ={\frac{1}{1+e^{-x}}}\cdot{\frac{e^{-x}}{1+e^{-x}}} \end{align}

改为

\begin{matrix} f(x) ={\frac{1}{1+e^{-x}}} \ f'(x) ={\frac{1}{1+e^{-x}}}\cdot{\frac{e^{-x}}{1+e^{-x}}} \end{matrix}

不能用&=,且不会左对齐
PixPin_2025-01-14_14-50-11