Latex wizardry
Rewrite stuff a bit