diff --git a/dsRag/static/Latex.html b/dsRag/static/Latex.html index 625895ab..adec46d3 100644 --- a/dsRag/static/Latex.html +++ b/dsRag/static/Latex.html @@ -3,22 +3,11 @@ LaTeX公式渲染示例 - - + + diff --git a/dsRag/static/MathJax.html b/dsRag/static/MathJax.html new file mode 100644 index 00000000..e45aac10 --- /dev/null +++ b/dsRag/static/MathJax.html @@ -0,0 +1,144 @@ + + + + + + MathJax Examples + + + + +

MathJax Examples

+ +
+

1. 行内公式

+

这个是行内公式的例子:\( a^2 + b^2 = c^2 \)。

+
+ +
+

2. 块级公式

+

这是一个块级公式的例子:

+ $$ E = mc^2 $$ +
+ +
+

3. 分数和根号

+

分数公式:\( \frac{a}{b} \)。

+

根号公式:\( \sqrt{a^2 + b^2} \)。

+

复合公式:块级形式:

+ $$ + \frac{\sqrt{x^2 + y^2}}{a + b} + $$ +
+ +
+

4. 矩阵

+

这是一个矩阵的例子:

+ $$ + \begin{bmatrix} + 1 & 2 & 3 \\ + 4 & 5 & 6 \\ + 7 & 8 & 9 + \end{bmatrix} + $$ +
+ +
+

5. 积分和求和

+

积分公式:

+ $$ + \int_{a}^{b} x^2 \, dx + $$ +

求和公式:

+ $$ + \sum_{n=1}^{\infty} \frac{1}{n^2} + $$ +
+ +
+

6. 上下标

+

这是一个上下标的例子:

+ $$ + E = mc^2 \quad \text{和} \quad x_i^2 + y_j^2 + $$ +
+ +
+

7. 对齐公式

+

这是一个对齐公式的例子:

+ $$ + \begin{align} + a^2 + b^2 &= c^2 \\ + x^2 + y^2 &= z^2 + \end{align} + $$ +
+ +
+

8. 极限

+

极限公式:

+ $$ + \lim_{x \to \infty} \frac{1}{x} = 0 + $$ +
+ +
+

9. 多行公式

+

这是一个多行公式的例子:

+ $$ + \begin{aligned} + f(x) &= x^2 + 2x + 1 \\ + &= (x + 1)^2 + \end{aligned} + $$ +
+ +
+

10. 几何符号

+

这是一个几何符号的例子:

+ $$ + \angle ABC \quad \triangle ABC \quad \overrightarrow{AB} \quad \overline{AB} + $$ +
+ +
+

11. 逻辑符号

+

这是一些逻辑符号的例子:

+ $$ + \forall x \in \mathbb{R}, \; \exists y \; \text{使得} \; x + y = 0 + $$ + $$ + P \implies Q \quad P \iff Q + $$ +
+ +
+

12. 集合

+

这是一些集合公式的例子:

+ $$ + A \cup B \quad A \cap B \quad A \setminus B \quad A \subseteq B + $$ +
+ + + +