使用typora添加化学方程式/ Typora tutorial: chemical equation

in #utopian-io6 years ago (edited)

DQmbgzru4YUCtQnwiZkMBQHEzTxCUTzbUn5tSytrWUeukos_副本.jpg

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语句就可以了。下面是一个化学方程式的例子:
360截图20180106190751826.jpg

1.确保typora支持tex语句

打开Typora之后,点击菜单按钮“文件”,在下拉菜单里面选择“偏好设置”。点开之后,在“markdown扩展语法”这一栏里面,将“内联公式$LATEX$”,这一栏目勾选。
360截图20180106191028271.jpg

2.语句格式

例子:

$\ce{N2(g) + 3H2(g) -> 2NH3(g)} \qquad \Delta H_{\mathrm{f}}^\circ ={-92.5}{kJ}$

显示如下:
360截图20180106191542528.jpg
在typora输入的时候,语句写在2个美元$符号之间:

   $…………$

3.语法介绍

下标、电荷数、氧化数

 $ \ce{CO2}$
$  \ce{H+}$
$  \ce{Cu^2+}$

显示如下:
360截图20180106193343697.jpg

圆括号、方括号、大括号

$\ce{(NH4)2S}$
$\ce{[AgCl2]-}$
$\ce{[{(X2)3}2]^3+}$

显示如下:
360截图20180106193607574.jpg

上标与下标

$\ce{^{227}_{90}Th+}$
$\ce{H2+}$

显示如下:
360截图20180106193821118.jpg

圆点: 自由基

$\ce{Cl*}$
$\ce{{}*CH3}$

显示如下:
360截图20180106193821118.jpg

化学键

$\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}$

360截图20180106193821118.jpg

箭头

$\ce{->}$
$\ce{<=>}$
$\ce{<=>>}$
$\ce{<<=>}$

显示如下:
360截图20180106193821118.jpg

添加反应条件

$\ce{2H2 + O2 ->[\Delta] H2O}$
$\ce{A ->[{text above}][{text below}] B}$
$\ce{N2 + H2 ->[{\mbox{催化剂}}][{\mbox{高温高压}}] NH3}3$

显示如下:
360截图20180106194617660.jpg

沉淀与气体

$\ce{Ca(OH)2 + CO2 = CaCO3 v + H2O}$
$\ce{Fe + 2H+ = H2 ^ + Fe^2+}$

显示如下:
360截图20180106195039898.jpg

今天的教程到此就结束了,typora是一款很不错的文本编辑工具,不过如果需要在steemit添加化学方程式,还需要进行截图然后上传到steemit,目前steemit本身的markdown编辑器还有很大的局限性,不能处理这些语句。谢谢阅读。



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

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

这些符号确实不好输入,get新技能!

真开心再次见到你!请接受cn区点赞机器人 @cnbuddy 对你作为cn区一员的感谢。 @cnbuddy 旨在助力cn区快速发展,更多cn区动态,请查看我的主页。欢迎关注我们的大股东 @skenan,并注册使用由其开发的 CNsteem.com。如果我打扰到你,请回复“取消”。

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.30
TRX 0.12
JST 0.034
BTC 63815.31
ETH 3124.40
USDT 1.00
SBD 3.99