SHARE
TWEET

fixed MathJax bookmarklet

robjohn Dec 5th, 2011 749 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:(function(){if(window.MathJax===undefined){var%20script%20=%20document.createElement("script");script.type%20=%20"text/javascript";script.src%20=%20"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML";var%20config%20=%20'MathJax.Hub.Config({'%20+%20'extensions:%20["tex2jax.js"],'%20+%20'tex2jax:%20{%20inlineMath:%20[["$","$"],["\\\\\\\\\\\\(","\\\\\\\\\\\\)"]],%20displayMath:%20[["$$","$$"],["\\\\[","\\\\]"]],%20processEscapes:%20true%20},'%20+%20'jax:%20["input/TeX","output/HTML-CSS"]'%20+%20'});'%20+%20'MathJax.Hub.Startup.onload();';if%20(window.opera)%20{script.innerHTML%20=%20config}%20else%20{script.text%20=%20config}%20document.getElementsByTagName("head")[0].appendChild(script);}else{MathJax.Hub.Queue(["Typeset",MathJax.Hub]);}$('html').ajaxComplete(function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub]);});})();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top