插件地址:http://wordpress.org/extend/plugins/wp-quicklatex/

官方主页:http://www.quicklatex.com/  可以在线生成公式的图片文件

Advanced LaTeX plugin. Copy-paste exchange with offline papers. Allows custom preamble/TexLive packages. Supports TikZ, proper formulae alignment.

Standard LaTeX expressions can be cut and pasted directly into WordPress posts, pages, and comments; display environments require no enclosures, other expressions require only a surrounding 

[latexpage]

At first, we sample $f(x)$ in the $N$ ($N$ is odd) equidistant points around $x^*$: \[ f_k = f(x_k),\: x_k = x^*+kh,\: k=-\frac{N-1}{2},\dots,\frac{N-1}{2} \] where $h$ is some step. Then we interpolate points $\{(x_k,f_k)\}$ by polynomial \begin{equation} \label{eq:poly} P_{N-1}(x)=\sum_{j=0}^{N-1}{a_jx^j} \end{equation} Its coefficients $\{a_j\}$ are found as a solution of system of linear equations: \begin{equation} \label{eq:sys} \left\{ P_{N-1}(x_k) = f_k\right\},\quad k=-\frac{N-1}{2},\dots,\frac{N-1}{2} \end{equation} Here are references to existing equations: (eq:poly), (eq:sys). Here is reference to non-existing equation (eq:unknown).

 

[toggle Title=”查看使用截图”]

LaTeX – enabled post in WordPress editor.

wp-quicklatex screenshot 1

Same post – published.

wp-quicklatex screenshot 2

TikZ drawing inclusion (up: source code in the post editor, down: published post).

wp-quicklatex screenshot 3

Admin page – Basic settings.

wp-quicklatex screenshot 4

Admin page – LaTeX Syntax Sitewide & Custom preamble

wp-quicklatex screenshot 5

Admin page – Image format and other system settings.

wp-quicklatex screenshot 6

Debug Mode – Error message triggered by misspelled sqrt command.

wp-quicklatex screenshot 7

[/toggle]