I've written a script that lets you insert dollar symbols automatically(via a keyboard shortcut or button) in the editor window on Stack Exchange sites that support MathJax. You guys also get a special NP button(Alt-S, S for sansserif) that encloses the selection in $\mathsf{...}$.

Also, note that Alt-Z lets you exit math mode--this lets you type math smoothly. For example, you can use Alt-S, type PSPACE, and then use Alt-Z to bring the cursor out of math mode, where you can continue typing. (It's been a big help to me on chem.SE, with the \ce{...} button--I can type chemical formulae within the flow of the code).

Also, you have Alt-O for Big O notation, but I doubt you'll use it.

Feel free to check it out!

Installation instructions and details here

share
1  
Nice ! I'll try it out right now –  Suresh Venkat May 7 '12 at 5:14
    
@SureshVenkat: Great! Let me know about any bugs/etc (psst: I can't really program so bugs are expected) :P –  Manishearth May 7 '12 at 5:15
    
Thanks for adding these features! –  Artem Kaznatcheev May 7 '12 at 12:37

1 Answer 1

Hmm. I don't see the buttons in the answer field, and the hotkeys don't appear to work. This is with FF 12.0 on Windows 7 64bit. Attached is a screenshot: enter image description here

share
    
That is strange. I developed this in chrome, and it works fine, but I haven't checked back in FF yet. I'll do so... –  Manishearth May 7 '12 at 5:30
    
It should work now, uninstall/reinstall. Some changes to GM since I last updated and FFs lack of window.location.origin. For some reason, my FF isn't showing the button bar itself (with the script disabled), so I can't test it :/ –  Manishearth May 7 '12 at 5:58
    
Let me know if it works/doesn't work. Grumbles about firefox ;-) –  Manishearth May 7 '12 at 6:07
1  
Yup. works now ! thanks ! –  Suresh Venkat May 7 '12 at 6:38

You must log in to answer this question.

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