From bf330af3f746e026fd912c50bc1551d4811e1e76 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 24 Aug 2015 13:12:47 -0400 Subject: [PATCH] Make sure tables with labels are properly aligned (in case they are in an mrow with other stuff, though they shouldn't be). --- unpacked/jax/output/CommonHTML/autoload/mtable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/jax/output/CommonHTML/autoload/mtable.js b/unpacked/jax/output/CommonHTML/autoload/mtable.js index fafa1b247..6bf05c094 100644 --- a/unpacked/jax/output/CommonHTML/autoload/mtable.js +++ b/unpacked/jax/output/CommonHTML/autoload/mtable.js @@ -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) {