www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit acd5857a9981beb21eb07a95ad4841488c8a73f2
parent a9c66b5cee7d81fe2b0b68f70955ae1959515679
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue,  9 Sep 2014 20:07:07 -0400

Use alignment function for mtable with labels as well.

Diffstat:
Munpacked/jax/output/SVG/autoload/mtable.js | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/unpacked/jax/output/SVG/autoload/mtable.js b/unpacked/jax/output/SVG/autoload/mtable.js @@ -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);