LoopJump's Blog

WordPress公式范例

2015-06-20

没想到wordpress的latex插件支持的这么好。

写了几个例子,**右键”Show Math As”=>”Tex Commands”**可以看原始文本。

花体字母

$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

$\mathcal{abcdepfghijklmnopqrstuvwxyz}$

内嵌文本

$$\langle\langle\text{PRE-PREPARE}, v, n, d\rangle_{\sigma_p}, m\rangle$$

$$\langle\langle PRE-PREPARE, v, n, d\rangle_{\sigma_p}, m\rangle$$

Paxos三条约束

$B1(\mathcal{B}) \triangleq \forall B, B^{‘} \in \mathcal{B} : (B \neq B^{‘}) \Rightarrow (B_{bal} \neq B_{bal}^{‘})$

$B2(\mathcal{B}) \triangleq \forall B, B^{‘} \in \mathcal{B} : B_{qrm} \cap B_{qrm}^{‘} \neq \emptyset$

$B3(\mathcal{B}) \triangleq \forall B \in \mathcal{B}$ : $(MaxVote(B_{bal}, B_{qrm}, \mathcal{B}){bal} \neq -\infty)$ \Rightarrow (B{dec} = MaxVote(B_{bal}, B_{qrm}, \mathcal{B})_{dec})$

Y Combinator

$Y=\lambda f.(\lambda x.f(x x)) (\lambda x.f(x x))$

高斯分布

$f(x)=\frac{1}{\sigma \sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}}$

牛顿莱布尼茨公式

$\int_a^bf(x)dx=F(x)|_a^b$

矩阵

$\left[ \begin{matrix} x_{11} & x_{12} & \cdots & x_{1n} \ x_{21} & x_{22} & \cdots & x_{2n} \ \vdots & \vdots & \ddots & \vdots \ x_{n1} & x_{n2} & \cdots & x_{nn} \ \end{matrix} \right]$

群同构

for example: via $f(x)=e^x$,$(R,+)\cong(R,\times)$

对齐

$\begin{align}(a+b)^3&=(a+b)(a+b)^2 \&=(a+b)(a^2+2ab+b^2)\&=a^3+3a^2b+3ab^2+b^3\end{align}$

括号

$C_i\langle a\rangle$

Reference:

http://math.ecnu.edu.cn/~latex/docs/others/mathsymb.pdf

http://mohu.org/info/symbols/symbols.htm

http://blog.csdn.net/bendanban/article/details/44221279

https://snaildove.github.io/2017/08/20/LaTeX_symbols

扫描二维码,分享此文章