Skip to content

Commit 5b232c9

Browse files
committed
Fix problem with width of equations with line breaking.
1 parent 477903c commit 5b232c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpacked/jax/output/SVG/autoload/multiline.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
221221
//
222222
// Place the new line
223223
//
224+
if (line.w + shift > svg.w) svg.w = line.w + shift;
224225
svg.Align(line,align,0,state.Y,shift);
225226
//
226227
// Save the values needed for the future

0 commit comments

Comments
 (0)