测试在网页上用Latex编写数学公式(MathJax )

在网页上使用Latex格式插入公式

1. 使用方法

只需要在源码便签中添加:

加载较慢:(用的是国外网站)

注意:如果看不清,或有乱码,请在公式上右击鼠标,选择 math setting -> math renderer -> SVG

2. 行内公式: 

When

\(a\ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are 

3. 行间公式:

$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

$$\sum_{i=1}^{n}i=\frac{n(n+1)}{2} $$

$$f(x_1,x_x,\ldots,x_n) = x_1^2 + x_2^2 + \cdots + x_n^2 $$ 

 

 


 

转载于:https://www.cnblogs.com/wangshide/archive/2012/06/12/2547132.html

你可能感兴趣的:(测试在网页上用Latex编写数学公式(MathJax ))