Add more packages to TikZ preamble, enable AMS extensions in mathjax