Generate compact LaTeX code :)
Fixed dead code