使用Typora添加数学公式\ Typora tutorial :mathematical formula

in #utopian-io7 years ago (edited)


Summary:
Typora is a very good markdown editor, and today I'll show you how to use typora to add a mathematical formula,Example is as follow.

1.打开typora 选择数学模块
点击paragraph,然后选择math block 打开,或者使用快捷键ctrl+shift+M 打开。打开之后界面如下,此时数学模块是空的。
360截图20171224212611485.jpg

2.添加数学公式
想要输出数学公式,首先要记得格式和一些代码。如下:

分数,平方

算式markdown
7x+51+y2\frac{7x+5}{1+y^2}

下标

算式markdown
z=zlz=z_l

省略号

省略号markdown
\cdots

行间公式(使用两个$包含公式可以独立一行)

行间公式markdown
ddxeax=aeax∑i=1n(Xi−X¯¯¯)2\frac{d}{dx}e^{ax}=ae^{ax}\quad \sum_{i=1}^{n}{(X_i - \overline{X})^2}

开根号

算式markdown
2√;3√n\sqrt{2};\sqrt[n]{3}

矢量

算式markdown
a⃗ ⋅b⃗ =0\vec{a} \cdot \vec{b}=0

积分

算式markdown
∫23x2dx\int ^2_3 x^2 {\rm d}x

极限

算式markdown
limn→+∞n\lim_{n\rightarrow+\infty} n

累加

算式markdown
∑1i2\sum \frac{1}{i^2}

累乘

算式markdown
∏1i2\prod \frac{1}{i^2}

希腊字母

大写markdown小写markdown
AAα\alpha
BBβ\beta
Γ\Gammaγ\gamma
Δ\Deltaδ\delta
EEϵ\epsilon
ε\varepsilon
ZZζ\zeta
HHη\eta
Θ\Thetaθ\theta
IIι\iota
KKκ\kappa
Λ\Lambdaλ\lambda
MMμ\mu
NNν\nu
Ξ\Xiξ\xi
OOο\omicron
Π\Piπ\pi
PPρ\rho
Σ\Sigmaσ\sigma
大写markdown小写markdown
TTτ\tau
Υ\Upsilonυ\upsilon
Φ\Phiϕ\phi
φ\varphi
XXχ\chi
Ψ\Psiψ\psi
Ω\Omegaω\omega

三角函数

三角函数markdown
sin\sin

对数函数

算式markdown
ln15\ln15
log210\log_2 10
lg7\lg7

关系运算符

运算符markdown
±\pm
×\times
÷\div
\sum
\prod
\neq
\leq
\geq

记住如上的格式之后,只要根据要输出的数学公式,输入相应的格式代码就可以了。比如:

\frac{d}{dx}e^{ax}=ae^{ax}\quad \sum_{i=1}^{n}{(X_i - \overline{X})^2} 输出的内容就是:

3.输出单独的数学公式
在输入格式代码之后,下方就会显示输出的数学公式,如果想单独显示,就点OK,这样就直接显示在编辑器里面了。
360截图20171224211822131.jpg
360截图20171224211828192.jpg

最重要的是记住代码格式,以及一些特定符号。其实也可以说这是markdown语法,但是在steem不支持这类语法,如果想在steemit插入数学公式,只能截图,然后插入图片。



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

实用的markdown教程。

很厉害,钻研的这么深入

为你的钻研精神点赞!

看了一堆utopian-io就你这个,我感觉最有用!

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you very much.

Hey @jubi I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.030
BTC 67814.76
ETH 3246.58
USDT 1.00
SBD 2.66