commit 5b232c93e8e152fc3db73fa89ed6d58b9f4d88de
parent 477903cc79fb4d20ed5ded02381e4085d7096c0f
Author: Davide P. Cervone <dpvc@union.edu>
Date: Tue, 27 Jan 2015 08:17:00 -0500
Fix problem with width of equations with line breaking.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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