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

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

For you chemistry guys, there's an extra button that encloses stuff in $\ce{...}$

It's pretty useful in /review, and also a good shortcut when writing your own posts.

Here's the userscript. Installation instructions are there. (also bugs/feature reqs/whatever)

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

share
    
any way to do it in opera? –  Ashu Jul 6 '12 at 17:19
    
@Ashu yep. Installn instructions for all major browsers here:stackapps.com/tags/script/info . Its pretty easy for opera. –  ManishEarth Jul 6 '12 at 17:39
add comment

1 Answer

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)

share
add comment

You must log in to answer this question.

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