2
$\begingroup$

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

$\endgroup$
3
  • 1
    $\begingroup$ Nice ! I'll try it out right now $\endgroup$ May 7, 2012 at 5:14
  • $\begingroup$ @SureshVenkat: Great! Let me know about any bugs/etc (psst: I can't really program so bugs are expected) :P $\endgroup$ May 7, 2012 at 5:15
  • $\begingroup$ Thanks for adding these features! $\endgroup$ May 7, 2012 at 12:37

1 Answer 1

2
$\begingroup$

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

$\endgroup$
4
  • $\begingroup$ 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... $\endgroup$ May 7, 2012 at 5:30
  • $\begingroup$ 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 :/ $\endgroup$ May 7, 2012 at 5:58
  • $\begingroup$ Let me know if it works/doesn't work. Grumbles about firefox ;-) $\endgroup$ May 7, 2012 at 6:07
  • 1
    $\begingroup$ Yup. works now ! thanks ! $\endgroup$ May 7, 2012 at 6:38

You must log in to answer this question.

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