Adds some math/science buttons to the editor on science SE sites. These buttons are useful for converting selected text to math, formatting SI units, and formatting chemical equations.

(The SI units and chem buttons are only enabled on certain sites)

Currently, it runs on these SE sites: Mathematics, Physics, Chemistry, Biology

If you want your mathjax-enabled SE site to be supported, please let me know!


My long term goal is to make [this script][1] a part of it (I'm still working on that script, though--so it will be a while)

##Installation##

 - [Click here to install][2]. Will only work in Chrome or Firefox (the latter requires Greasemonkey).

 - [Source][3]


## Buttons supported##


###Dollarify (`$`)
 - Encloses selection in `$...$`
 - Enabled on all supported sites
 - Keyboard shortcut: <kbd>Alt</kbd>-<kbd>M</kbd>

###Double Dollarify (`$$`)
 - Encloses selection in `$$...$$`
 - Enabled on all supported sites
 - Keyboard shortcut: _None_

###SI-ify (`SI`)
 - Encloses selection in `\:\mathrm{...}` (upright text with an extra separator space for SI units) 
 - Enabled on Physics,Chemistry, and Biology
 - Keyboard shortcut: <kbd>Alt</kbd>-<kbd>S</kbd>

###chem-ify (`O`<sub>`2`</sub>)
 - Encloses selection in `$\ce{...}$` (mhchem chemical equation formatter)
 - Use the `$` button on the `\ce`'d text to make this a block element (use <kbd>Alt</kbd>-<kbd>M</kbd>)
 - Enabled on Chemistry only
 - Keyboard shortcut: <kbd>Alt</kbd>-<kbd>C</kbd>



##Screenshots

###Chem

Before:

![enter image description here][4]
After:
![enter image description here][5]

###Dollarify

Before:

![enter image description here][6]

After:
![enter image description here][7]

###SI-ify
Before:

![enter image description here][8]

After (first dollarifying, then SI-ifying)


After:
![enter image description here][9]


  [1]: http://toolserver.org/~manishearth/DynamicWithTeXConvert.htm
  [2]: https://github.com/Manishearth/Manish-Codes/raw/master/StackExchange/MathJaxTags.user.js
  [3]: https://github.com/Manishearth/Manish-Codes/blob/master/StackExchange/MathJaxTags.user.js
  [4]: https://i.sstatic.net/wGt6G.png
  [5]: https://i.sstatic.net/Ft39v.png
  [6]: https://i.sstatic.net/WKtjw.png
  [7]: https://i.sstatic.net/d3MVi.png
  [8]: https://i.sstatic.net/11gaF.png
  [9]: https://i.sstatic.net/JvXZ4.png