美文网首页程序员写作LaTex论文写作
在简书中使用Latex书写数学公式

在简书中使用Latex书写数学公式

作者: 光剑书架上的书 | 来源:发表于2017-03-26 21:41 被阅读1106次

开宗明义

Latex数学表达式

数学表达式教程:

https://www.sharelatex.com/learn/Mathematical_expressions

本地

用LaTeX Compiler在本地电脑工作,则需要以下软件:

For Windows:
MikTex: http://miktex.org/download和TexMaker: http://www.xm1math.net/texmaker/download.html

For Mac:

MacTeX: http://www.tug.org/mactex/index.html和TexMaker,地址同Windows.之所以都需要两个软件是因为它们各自的作用不同:MikTex是package管理软件,而TexMaker是用这些package和你自己的文字来生成最终PDF文件的软件。

矩阵示例

Latex代码:

$$
        \begin{bmatrix}
        1 & x & x^2 \\
        1 & y & y^2 \\
        1 & z & z^2 \\
        \end{bmatrix}
$$

![][matrix]
[matrix]: http://latex.codecogs.com/svg.latex?\begin{bmatrix}1&x&x2\1&y&y2\1&z&z^2\\end{bmatrix}

简书md源码:

![][matrix]
[matrix]: http://latex.codecogs.com/svg.latex?\begin{bmatrix}1&x&x^2\\1&y&y^2\\1&z&z^2\\\end{bmatrix}

公式示例:

00: 01: 02: 03: 04: 05: 06:

07: ![][07]

[07]: http://latex.codecogs.com/svg.latex?f\left(\left[\frac{1+\left{x,y\right}}{\left(\frac{x}{y}+\frac{y}{x}\right)\left(u+1\right)}+a\right]^{3/2}\right)

简书源码:

00:![][00]

01: ![][01]

02: ![][02]

03: ![][03]

04: ![][04]

05: ![][05]

06: ![][06]

07: ![][07]



[00]: http://latex.codecogs.com/png.latex?\begin{bmatrix}1&x&x^2\\1&y&y^2\\1&z&z^2\\\end{bmatrix}

[01]: http://latex.codecogs.com/png.latex?e^{i\pi}+1=0

[02]: http://latex.codecogs.com/png.latex?C_n^k=\frac{n(n-1)\ldots(n-k+1)}{k!}

[03]: http://latex.codecogs.com/svg.latex?\begin{align}\sqrt{37}&=\sqrt{\frac{73^2-1}{12^2}}\\&=\sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}}\\&=\sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}}\\&=\frac{73}{12}\sqrt{1-\frac{1}{73^2}}\\&\approx\frac{73}{12}\left(1-\frac{1}{2\cdot73^2}\right)\end{align}

[04]: http://latex.codecogs.com/svg.latex?\begin{array}{c|lcr}n&\text{Left}&\text{Center}&\text{Right}\\\hline1&0.24&1&125\\2&-1&189&-8\\3&-20&2000&1+10i\\\end{array}

[05]: http://latex.codecogs.com/svg.latex?\mathbb{N,Z,Q,R,C}

[06]: http://latex.codecogs.com/svg.latex?\left\{\begin{array}{ll}a_1x+b_1y+c_1z&=d_1+e_1\\a_2x+b_2y&=d_2\\a_3x+b_3y+c_3z&=d_3\end{array}\right.

[07]: http://latex.codecogs.com/svg.latex?f\left(\left[\frac{1+\left\{x,y\right\}}{\left(\frac{x}{y}+\frac{y}{x}\right)\left(u+1\right)}+a\right]^{3/2}\right)


![][fun]
[fun]:http://latex.codecogs.com/svg.latex?f(x)=\frac{P(x)}{Q(x)}


相关文章

网友评论

本文标题:在简书中使用Latex书写数学公式

本文链接:https://www.haomeiwen.com/subject/ijokottx.html