1. 程式人生 > >如何在博客園插入數學公式

如何在博客園插入數學公式

javascrip pla 數學公式 size 公式 clas http type 顯示

在博客園設置--->頁首html添加代碼

<script src="http://latex.codecogs.com/latex.js" type="text/javascript"></script>

舉例輸入:

$y = \theta^{T}x + \theta^{T}x^{2}$
$\sum_{i=1}^{n=m}{\theta^{T}X^{(i)}}$

顯示為:

$y = \theta^{T}x + \theta^{T}x^{2}$

$\sum_{i=1}^{n=m}{\theta^{T}X^{(i)}}$

如何在博客園插入數學公式