After having to add dollar signs and format SI units countless times in the review section, I finally got fed up and wrote a script.{*}

It basically adds buttons to enclose the selected text in dollar symbols and \mathrm SI unit formatting.

Here's the userscript. Installation instructions are there.

*With some urging from chem.SE.people, otherwise it was going to be indefinitely in my todo list :P

  • $\begingroup$ Hey, I just installed this (using Tampermonkey), but now all my editor buttons are gone! Any idea what's going on here? Is this thing still working, or has it become outdated? $\endgroup$
    – Danu
    Commented Sep 1, 2014 at 13:49
  • $\begingroup$ @Danu works for me, but I used to use Chrome's in built userscript functionality which is now disabled for Windows. I'll have a look when I get the time. $\endgroup$ Commented Sep 1, 2014 at 22:10
  • $\begingroup$ tampermonkey seemed to be OK with it and indicates it's running... Hope you manage to find out what's going on (assuming I didn't mess up?!) $\endgroup$
    – Danu
    Commented Sep 1, 2014 at 22:11
  • $\begingroup$ Related: chemistry.meta.stackexchange.com/questions/3286/… $\endgroup$
    – user115953
    Commented May 22, 2017 at 15:50

2 Answers 2


I can't comment (literally, I can't post comments) but I can say that although it's a bit limited in features, it's definitely a step forward for the editor!

In contrast, the link you provided has dead download sub-links :(

  • 1
    $\begingroup$ You can comment here :) . What other features would you like? Note that it has keyboard shortcuts (which ought to be more used than the buttons anyway)--so it's reasonably quick and easy to use. I also fixed the sublinks, thanks for that (had done a file rename, forgot about it :P ) $\endgroup$ Commented May 4, 2012 at 0:40
  • $\begingroup$ @Manishearth, Sorry about that, I never received a notification on your comment but I'll try it and report back here :) $\endgroup$
    – Noein
    Commented May 9, 2012 at 21:34
  • $\begingroup$ @Manishearth, How about the following: 1. A choice between "\mathbf and \vec", maybe "\text or \mathrm" for constants, too. If it's easily doable in JS, I'd suggest this too 2. A button to search the selected text and replace brackets (,),[&] to \right( , \left] , ... etc. What do you think? $\endgroup$
    – Noein
    Commented May 12, 2012 at 10:56
  • 1
    $\begingroup$ Not really easily doable as a choice, since I'd have to add some configuration. I am planning on making it customizable, so I'll let you know--but that's far off. Actually I'll think about this for a while--maybe I can add some rudimentary customizeability. $\endgroup$ Commented May 12, 2012 at 11:00
  • $\begingroup$ @Manishearth, fair enough. $\endgroup$
    – Noein
    Commented May 12, 2012 at 11:04

Note to users who installed it before 5/5/12 (3:51 PM UTC):

The script no longer needs to be updated (most updates include the addition of more sites/buttons and tweaks like tooltips). It auto-fetches the updates now.

I suggest you uninstall/reinstall it to run this one-time update

How to uninstall:

  • Chrome: Settings>Tools>Extensions. Find the script and delete it
  • Firefox: Open the GM settings and remove the script

Then re-install normally (click here)


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .