I use the math equation code from MediaWiki and add my own code to make it work in this forum.