latex cleanup
code formatting