merged post from unreleased and added center alignment setting to MathJax config