MathJax for All

Uses MathJax to properly display LaTeX code, on any site

اعتبارا من 21-05-2021. شاهد أحدث إصدار.

المؤلف
Luke Alexander
التقييمات
0 0 0
الإصدار
0.3
تم إنشاؤه
21-05-2021
تم تحديثه
21-05-2021
Size
1.38 KB
الترخيص
لا يوجد
ينطبق على

MathJax for All

This simple script uses mathjax to process any suitably delimited ($ for inline, $$ or \[ for display) latex mathematical code into how latex would display it.

See the mathjax website for details.

This is tested and working very well with gmail but designed to be general purpose—you just need to add the domain you want to the script's matches.

Use cases

  • emails
  • forums which don't natively support latex code
  • your own local files
  • any other time you see mathematical latex code online!

Postscript

I'm not an expert scripter in the slightest, so this isn't necessarily a very robust piece of code. But it works very nicely for my purposes, and I had previously looked around and hadn't found anything similar that was already available. You should probably be using a modern browser.