with float extension for mathjax