更新latex公式显示

增加了换行和空格使公式在文档模式下正确显示。
pull/951/head
y0ng1e 2023-02-13 10:43:24 +08:00 committed by GitHub
parent 09857a579b
commit 3f4e6616a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -59,6 +59,7 @@ d = \sqrt[p]{\sum_{k=1}^n \mid x_{1k}-x_{2k} \mid ^p}
$$
5. 余弦距离
$$
cos(\theta) = \frac{\sum_{k=1}^n x_{1k}x_{2k}}{\sqrt{\sum_{k=1}^n x_{1k}^2} \sqrt{\sum_{k=1}^n x_{2k}^2}}
$$