Skip to content

Commit

Permalink
Update katex.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM authored Aug 25, 2024
1 parent 7fb1225 commit 0a9b006
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/katex.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ <h1>Tex 科学公式语言 (TeX/LaTeX)</h1>
```
在 math 块里面输入公式,在外面输入文字

也可以用两个 `$$` 符号包围公式以使用内联格式

$$ \text{Max } T = \frac{3}{2} M $$

在 `$` 开头加空格可防止挤在同一行

$$ \quad B \geq \frac{M}{50} $$
$$ \quad S_1 + S_2 + S_3 + S_4 + S_5 + S_6 \leq 112 $$
$$ \quad M \geq 1000 $$

</textarea>
</div>
</div>
Expand Down

0 comments on commit 0a9b006

Please sign in to comment.