From 5b232c93e8e152fc3db73fa89ed6d58b9f4d88de Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 27 Jan 2015 08:17:00 -0500 Subject: [PATCH] Fix problem with width of equations with line breaking. --- unpacked/jax/output/SVG/autoload/multiline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/jax/output/SVG/autoload/multiline.js b/unpacked/jax/output/SVG/autoload/multiline.js index 4e8e228c4..a7b71f7ce 100644 --- a/unpacked/jax/output/SVG/autoload/multiline.js +++ b/unpacked/jax/output/SVG/autoload/multiline.js @@ -221,6 +221,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () { // // Place the new line // + if (line.w + shift > svg.w) svg.w = line.w + shift; svg.Align(line,align,0,state.Y,shift); // // Save the values needed for the future