latex 测试

矩阵

$$
begin{pmatrix}
   a & b \
   c & d
end{pmatrix}
$$

效果

如果前后都是换行那就居中了

$$
begin{bmatrix}
   a & b \
   c & d
end{bmatrix}
$$

不居中直接内嵌:$displaystylesum_{i=1}^nx$ 显示

x displaystyle sum_{i=1}^n x

使用的时候在顶上加上

use_math: true

emmmm