From ae73644953bf2265c93ad12694f1214eecf825ea 2013-09-27 08:43:27 From: Matthias Bussonnier Date: 2013-09-27 08:43:27 Subject: [PATCH] Merge pull request #4282 from ellisonbg/linebreaks Enable automatic line breaks in MathJax. --- diff --git a/IPython/html/static/notebook/js/mathjaxutils.js b/IPython/html/static/notebook/js/mathjaxutils.js index 016f76e..e35887d 100644 --- a/IPython/html/static/notebook/js/mathjaxutils.js +++ b/IPython/html/static/notebook/js/mathjaxutils.js @@ -27,7 +27,8 @@ IPython.mathjaxutils = (function (IPython) { }, displayAlign: 'left', // Change this to 'center' to center equations. "HTML-CSS": { - styles: {'.MathJax_Display': {"margin": 0}} + styles: {'.MathJax_Display': {"margin": 0}}, + linebreaks: { automatic: true } } }); MathJax.Hub.Configured();