From 3ef9498d2f2127b5b3583e175b8eef38a1ee73bd Mon Sep 17 00:00:00 2001 From: "Brian E. Granger" Date: Wed, 25 Sep 2013 19:29:55 -0700 Subject: [PATCH] Enable automatic line breaks in MathJax. --- IPython/html/static/notebook/js/mathjaxutils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/js/mathjaxutils.js b/IPython/html/static/notebook/js/mathjaxutils.js index 016f76e4f..e35887dfe 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();