常用符号

写法 效果
x_2 x 2 x_2 x2
x^2 x 2 x^2 x2
\rightarrow → \rightarrow →
\overrightarrow{x} x → \overrightarrow{x} x
\times × \times ×
\lambda λ \lambda λ
\frac{2}{3} 2 3 \frac{2}{3} 32

公式内实现换行

1 + 1 = 2
\\
1 + 1 = 2

2 + 3 = 5 1 + 1 = 2 2 + 3 = 5 \\ 1 + 1 = 2 2+3=51+1=2

矩阵

\begin{bmatrix}
1 & 2 & 3 
\\
4 & 5 & 6
\end{bmatrix}
\tag{1}

[ 1 2 3 4 5 6 ] (1) \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} \tag{1} [142536​](1)

行列式

\begin{vmatrix}
1 & 2 & 3 
\\
4 & 5 & 6
\end{vmatrix}

∣ 1 2 3 4 5 6 ∣ \begin{vmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{vmatrix} 142536

公式内对齐

\begin{aligned}
& 3 + 1 + 2 \\
= & 4 + 2 \\
= & 6
\end{aligned}

3 + 1 + 2 = 4 + 2 = 6 \begin{aligned} & 3 + 1 + 2 \\ = & 4 + 2 \\ = & 6 \end{aligned} ==3+1+24+26

大括号

\begin{cases}
2 + 3 = 5  \\
1 + 1 = 2
\end{cases}

{ 2 + 3 = 5 1 + 1 = 2 \begin{cases} 2 + 3 = 5 \\ 1 + 1 = 2 \end{cases} {2+3=51+1=2