Use alignment function for mtable with labels as well.
This commit is contained in:
parent
a9c66b5cee
commit
acd5857a99
|
@ -336,10 +336,9 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
|
|||
shift += (indent.indentAlign === MML.INDENTALIGN.RIGHT ? -indent: indent);
|
||||
}
|
||||
var eqn = svg; svg = this.SVG();
|
||||
eqn.x = shift; svg.w = svg.r = SVG.cwidth; svg.hasIndent = true;
|
||||
svg.w = svg.r = SVG.cwidth; svg.hasIndent = true;
|
||||
svg.Align(C[LABEL],CALIGN[LABEL],labelshift,0);
|
||||
svg.Align(eqn,indent.indentalign,0,0);
|
||||
svg.w = SVG.cwidth; // in case the equation extends past the right
|
||||
svg.Align(eqn,indent.indentalign,0,0,shift);
|
||||
}
|
||||
|
||||
this.SVGsaveData(svg);
|
||||
|
|
Loading…
Reference in New Issue
Block a user