Layout changes to make PDF read better.

Mostly just shortening lines of code. There was a SymPy font render issue as well.