Summary:
Typora is a very good markdown editor, and today I'll show you how to use typora to add a chemical equation,Example is as follow.
如果我们想添加化学方程式,有一些专门的软件可以做到,但是typora支持tex语句,可以直接输出化学方程式,只需要会一点简单的tex语句就可以了。下面是一个化学方程式的例子:
1.确保typora支持tex语句
打开Typora之后,点击菜单按钮“文件”,在下拉菜单里面选择“偏好设置”。点开之后,在“markdown扩展语法”这一栏里面,将“内联公式$LATEX$”,这一栏目勾选。
2.语句格式
例子:
$\ce{N2(g) + 3H2(g) -> 2NH3(g)} \qquad \Delta H_{\mathrm{f}}^\circ ={-92.5}{kJ}$
显示如下:
在typora输入的时候,语句写在2个美元$符号之间:
$…………$
3.语法介绍
下标、电荷数、氧化数
$ \ce{CO2}$
$ \ce{H+}$
$ \ce{Cu^2+}$
显示如下:
圆括号、方括号、大括号
$\ce{(NH4)2S}$
$\ce{[AgCl2]-}$
$\ce{[{(X2)3}2]^3+}$
显示如下:
上标与下标
$\ce{^{227}_{90}Th+}$
$\ce{H2+}$
显示如下:
圆点: 自由基
$\ce{Cl*}$
$\ce{{}*CH3}$
显示如下:
化学键
$\ce{CH3-CHO}$
$\ce{CH2=CH2}$
$\ce{CH#CH}$
$\ce{A\bond{~}B\bond{~-}C}$
$\ce{A\bond{~--}B\bond{~=}C\bond{-~-}D}$
$\ce{A\bond{...}B\bond{....}C}$
箭头
$\ce{->}$
$\ce{<=>}$
$\ce{<=>>}$
$\ce{<<=>}$
显示如下:
添加反应条件
$\ce{2H2 + O2 ->[\Delta] H2O}$
$\ce{A ->[{text above}][{text below}] B}$
$\ce{N2 + H2 ->[{\mbox{催化剂}}][{\mbox{高温高压}}] NH3}3$
显示如下:
沉淀与气体
$\ce{Ca(OH)2 + CO2 = CaCO3 v + H2O}$
$\ce{Fe + 2H+ = H2 ^ + Fe^2+}$
显示如下:
今天的教程到此就结束了,typora是一款很不错的文本编辑工具,不过如果需要在steemit添加化学方程式,还需要进行截图然后上传到steemit,目前steemit本身的markdown编辑器还有很大的局限性,不能处理这些语句。谢谢阅读。
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
这些符号确实不好输入,get新技能!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @jubi I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit