Make sure tables with labels are properly aligned (in case they are in an mrow with other stuff, though they shouldn't be).

This commit is contained in:
Davide P. Cervone 2015-08-24 13:12:47 -04:00
parent e59f6d6484
commit bf330af3f7

View File

@ -459,6 +459,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
var labels = HTML.Element("mjx-stack");
table.style.display = "inline-table"; if (!table.style.width) table.style.width = "auto";
labels.style.verticalAlign = "top";
table.style.verticalAlign = CHTML.Em(state.T-state.B-state.H[0]);
node.style.verticalAlign = "";
if (shift) {
if (indent.indentalign === MML.INDENTALIGN.CENTER) {