Fix centering for forced linebreaks in SVG output when linebreaking isn't specified. Still need to work out how to make this work better ifor in-line math, and for parts of equations (like fraction numerators, etc.)
This commit is contained in:
parent
3c18798e50
commit
77c52073b1
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,8 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
|
|||
//
|
||||
svg = this.SVG();
|
||||
if (SVG.linebreakWidth < SVG.BIGDIMEN) {svg.w = SVG.linebreakWidth}
|
||||
|
||||
else {svg.w = SVG.cwidth/SVG.em * 1000}
|
||||
|
||||
var state = {
|
||||
n: 0, Y: 0,
|
||||
scale: this.SVGgetScale(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user