Courant Institute New York University FAS CAS GSAS

Reply to comment

  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/bootstrap.inc on line 707.
  • warning: require_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/module.inc on line 274.
  • warning: require_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/menu.inc on line 346.
  • warning: require_once(): Unable to allocate memory for pool. in /home/leingang/public_html/sites/all/modules/geshifilter/geshifilter.module on line 179.
  • warning: require_once(): Unable to allocate memory for pool. in /home/leingang/public_html/sites/all/modules/geshifilter/geshifilter.pages.inc on line 13.
  • warning: require_once(): Unable to allocate memory for pool. in /home/leingang/public_html/sites/all/modules/geshifilter/geshifilter.inc on line 38.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 155.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/themes/engines/phptemplate/phptemplate.engine on line 15.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: require_once(): Unable to allocate memory for pool. in /home/leingang/public_html/sites/all/modules/geshifilter/geshifilter.module on line 163.
  • warning: include_once(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 632.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.
  • warning: include(): Unable to allocate memory for pool. in /home/leingang/public_html/includes/theme.inc on line 1066.

MathJAX

Sunday, September 19, 2010 - 11:36pm

MathJax

I cashed in a lot of round tuits and updated the infrastructure on my site. One new addition is MathJax.

MathJax is a JavaScript suite which handles setting math in the browser. Users can type in TeX or LaTeX, and the output can be MathML or a graphical rendering in HTML of the code.

Testing: If \(ax^2 + bx + c = 0\), then \(x = \displaystyle\frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \).

Seems to work pretty well. Server-side methods that parse the body for TeX code, then ran TeX, converted to an image, and served the image, were always kludgy. This is client-side (so it depends on the viewer's software to see), but JavaScript is used in most graphical browsers, so it makes sense to rely on it. If a user can view Facebook, they can view MathJAX.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <img>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <perl>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options